Skip to content

Commit 9bf1c1d

Browse files
authored
Add reload prompt when changing hover setting (#10498)
* change description for natvisDiagnostics * add reload prompt when hover setting is changed
1 parent 34745e0 commit 9bf1c1d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Extension/src/LanguageServer/client.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,6 +1488,9 @@ export class DefaultClient implements Client {
14881488
if (changedSettings["caseSensitiveFileSupport"] && util.isWindows()) {
14891489
util.promptForReloadWindowDueToSettingsChange();
14901490
}
1491+
if (changedSettings["hover"]) {
1492+
util.promptForReloadWindowDueToSettingsChange();
1493+
}
14911494
// if addNodeAddonIncludePaths was turned on but no includes have been found yet then 1) presume that nan
14921495
// or node-addon-api was installed so prompt for reload.
14931496
if (changedSettings["addNodeAddonIncludePaths"] && settings.addNodeAddonIncludePaths && this.configuration.nodeAddonIncludesFound() === 0) {

0 commit comments

Comments
 (0)