From 6772b0593404a1349bb73ba41aa0103ef32a292c Mon Sep 17 00:00:00 2001 From: nsingh Date: Wed, 15 Aug 2018 21:33:52 -0230 Subject: [PATCH] PT 158992999 - Add scheme to boot LS document selector --- vscode-extensions/vscode-spring-boot/lib/Main.ts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/vscode-extensions/vscode-spring-boot/lib/Main.ts b/vscode-extensions/vscode-spring-boot/lib/Main.ts index 54c3a0d1c..995e251ce 100644 --- a/vscode-extensions/vscode-spring-boot/lib/Main.ts +++ b/vscode-extensions/vscode-spring-boot/lib/Main.ts @@ -33,7 +33,20 @@ export function activate(context: VSCode.ExtensionContext) { }, workspaceOptions: VSCode.workspace.getConfiguration("spring-boot.ls"), clientOptions: { - documentSelector: [ PROPERTIES_LANGUAGE_ID, YAML_LANGUAGE_ID, JAVA_LANGUAGE_ID ], + documentSelector: [ + { + language: PROPERTIES_LANGUAGE_ID, + scheme: 'untitled' + }, + { + language: YAML_LANGUAGE_ID, + scheme: 'untitled' + }, + { + language: JAVA_LANGUAGE_ID, + scheme: 'untitled' + } + ], synchronize: { configurationSection: 'boot-java' },