PT #151674858 Live boot hint decorations on/off
This commit is contained in:
@@ -20,7 +20,7 @@ export function activate(context: VSCode.ExtensionContext) {
|
||||
let options: commons.ActivatorOptions = {
|
||||
DEBUG: false,
|
||||
CONNECT_TO_LS: false,
|
||||
extensionId: 'vscode-boot-java',
|
||||
extensionId: 'boot-java',
|
||||
launcher: (context: VSCode.ExtensionContext) => 'org.springframework.boot.loader.JarLauncher',
|
||||
classpath: (context: VSCode.ExtensionContext) => {
|
||||
const classpath = [
|
||||
@@ -37,7 +37,7 @@ export function activate(context: VSCode.ExtensionContext) {
|
||||
clientOptions: {
|
||||
documentSelector: ['java'],
|
||||
synchronize: {
|
||||
configurationSection: 'vscode-boot-java'
|
||||
configurationSection: 'boot-java'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -25,6 +25,19 @@
|
||||
"activationEvents": [
|
||||
"onLanguage:java"
|
||||
],
|
||||
"contributes": {
|
||||
"configuration": {
|
||||
"type": "object",
|
||||
"title": "Boot-Java Configuration",
|
||||
"properties": {
|
||||
"boot-java.boot-hints.on": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Enable/Disable Spring running Boot application live hints decorators in the source code"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"main": "./out/lib/Main",
|
||||
"scripts": {
|
||||
"prepublish": "tsc -p .",
|
||||
|
||||
Reference in New Issue
Block a user