From 653aec37251eade325a9cecc1a4a7c33c19bd58c Mon Sep 17 00:00:00 2001 From: Martin Lippert Date: Tue, 19 Jun 2018 11:31:38 +0200 Subject: [PATCH] added new change detection setting property to client extensions --- atom-extensions/atom-spring-boot/package.json | 5 +++++ .../spring-boot/src/browser/boot-preferences.ts | 6 ++++++ vscode-extensions/vscode-spring-boot/package.json | 5 +++++ 3 files changed, 16 insertions(+) diff --git a/atom-extensions/atom-spring-boot/package.json b/atom-extensions/atom-spring-boot/package.json index 159408f14..8105e05f8 100644 --- a/atom-extensions/atom-spring-boot/package.json +++ b/atom-extensions/atom-spring-boot/package.json @@ -24,6 +24,11 @@ "type": "boolean", "default": true, "description": "Enable/Disable Spring running Boot application live hints decorators in the source code" + }, + "change-detection.on": { + "type": "boolean", + "default": false, + "description": "Enable/Disable detecting changes of running Spring Boot applications" } }, "dependencies": { diff --git a/theia-extensions/theia-spring-boot/spring-boot/src/browser/boot-preferences.ts b/theia-extensions/theia-spring-boot/spring-boot/src/browser/boot-preferences.ts index 51cf4327a..e15326dd3 100644 --- a/theia-extensions/theia-spring-boot/spring-boot/src/browser/boot-preferences.ts +++ b/theia-extensions/theia-spring-boot/spring-boot/src/browser/boot-preferences.ts @@ -11,12 +11,18 @@ export const BootConfigSchema: PreferenceSchema = { type: 'boolean', description: 'Enable/Disable Spring running Boot application live hints decorators in Java source code.', default: true + }, + 'boot-java.change-detection.on': { + type: 'boolean', + description: 'Enable/Disable detecting changes of running Spring Boot applications.', + default: false } } }; export interface BootConfiguration { 'boot-java.boot-hints.on': boolean; + 'boot-java.change-detection.on': boolean; } export const BootPreferences = Symbol('BootPreferences'); diff --git a/vscode-extensions/vscode-spring-boot/package.json b/vscode-extensions/vscode-spring-boot/package.json index 322f9b587..07ec73c70 100644 --- a/vscode-extensions/vscode-spring-boot/package.json +++ b/vscode-extensions/vscode-spring-boot/package.json @@ -68,6 +68,11 @@ "default": true, "description": "Enable/Disable Spring running Boot application live hints decorators in Java source code" }, + "boot-java.change-detection.on": { + "type": "boolean", + "default": false, + "description": "Enable/Disable detecting changes of running Spring Boot applications" + }, "spring-boot.ls.java.home": { "type": [ "string",