From ae3c6193afc7e2f309e401ca8bef8b1d921e84c0 Mon Sep 17 00:00:00 2001 From: aboyko Date: Fri, 2 Dec 2022 10:27:54 -0500 Subject: [PATCH] Popup label adjustments --- .../tooling/boot/ls/DelegatingStreamConnectionProvider.java | 4 +++- vscode-extensions/vscode-spring-boot/lib/Main.ts | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/eclipse-language-servers/org.springframework.tooling.boot.ls/src/org/springframework/tooling/boot/ls/DelegatingStreamConnectionProvider.java b/eclipse-language-servers/org.springframework.tooling.boot.ls/src/org/springframework/tooling/boot/ls/DelegatingStreamConnectionProvider.java index 805903e36..f1a3bf608 100644 --- a/eclipse-language-servers/org.springframework.tooling.boot.ls/src/org/springframework/tooling/boot/ls/DelegatingStreamConnectionProvider.java +++ b/eclipse-language-servers/org.springframework.tooling.boot.ls/src/org/springframework/tooling/boot/ls/DelegatingStreamConnectionProvider.java @@ -165,7 +165,9 @@ public class DelegatingStreamConnectionProvider implements StreamConnectionProvi if (preferenceStore.getBoolean(Constants.PREF_REWRITE_RECONCILE_PROMPT) && !preferenceStore.getBoolean(Constants.PREF_REWRITE_RECONCILE)) { PlatformUI.getWorkbench().getDisplay().asyncExec(() -> { int result = MessageDialog.open(MessageDialog.INFORMATION, Display.getCurrent().getActiveShell(), - "Spring Boot Java Reconciling", "Do you wish to enable Spring Boot Java Reconciling?", SWT.NONE, "Yes", "No", "Do not show again"); + "Spring Boot Java Reconciling", + "Do you wish to enable additional Java sources reconciling to get Spring specific validations and suggestions?", + SWT.NONE, "Yes", "No", "Do not show again"); switch (result) { case 0: preferenceStore.setValue(Constants.PREF_REWRITE_RECONCILE, true); diff --git a/vscode-extensions/vscode-spring-boot/lib/Main.ts b/vscode-extensions/vscode-spring-boot/lib/Main.ts index 2c18baf2c..cad5fd0d9 100644 --- a/vscode-extensions/vscode-spring-boot/lib/Main.ts +++ b/vscode-extensions/vscode-spring-boot/lib/Main.ts @@ -126,7 +126,7 @@ export function activate(context: VSCode.ExtensionContext): Thenable { VSCode.commands.registerCommand('vscode-spring-boot.ls.start', () => client.start().then(() => { if (VSCode.workspace.getConfiguration().get(RECONCILING_PROMPT_PREF_KEY) && !VSCode.workspace.getConfiguration().get(RECONCILING_PREF_KEY)) { - VSCode.window.showInformationMessage('Do you wish to enable Spring Boot Java sources reconciling?', YES, NO, NEVER_SHOW_AGAIN).then(answer => { + VSCode.window.showInformationMessage('Do you wish to enable additional Java sources reconciling to get Spring specific validations and suggestions?', YES, NO, NEVER_SHOW_AGAIN).then(answer => { switch (answer) { case YES: VSCode.workspace.getConfiguration().update(RECONCILING_PREF_KEY, true, true);