Skip to content

Commit a249454

Browse files
snjezafbricon
authored andcommitted
Optimize server initialization
Signed-off-by: Snjezana Peco <snjezana.peco@redhat.com>
1 parent 3c4e682 commit a249454

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/extension.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,6 @@ export function activate(context: ExtensionContext): Promise<ExtensionAPI> {
5555
],
5656
synchronize: {
5757
configurationSection: 'java',
58-
// Notify the server about file changes to .java and project/build files contained in the workspace
59-
fileEvents: [
60-
workspace.createFileSystemWatcher('**/*.java'),
61-
workspace.createFileSystemWatcher('**/pom.xml'),
62-
workspace.createFileSystemWatcher('**/*.gradle'),
63-
workspace.createFileSystemWatcher('**/gradle.properties'),
64-
workspace.createFileSystemWatcher('**/.project'),
65-
workspace.createFileSystemWatcher('**/.classpath'),
66-
workspace.createFileSystemWatcher('**/settings/*.prefs'),
67-
workspace.createFileSystemWatcher('**/src/**')
68-
],
6958
},
7059
initializationOptions: {
7160
bundles: collectJavaExtensions(extensions.all),

0 commit comments

Comments
 (0)