PT 158992999 - Add scheme to boot LS document selector

This commit is contained in:
nsingh
2018-08-15 21:33:52 -02:30
parent b8ae7b7aad
commit 6772b05934

View File

@@ -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'
},