Skip to content

Commit c8c49ca

Browse files
authored
fix: Add configuration change listener for 'java.completion.filteredTypes' (#890)
Signed-off-by: Sheng Chen <[email protected]>
1 parent 8fda0d2 commit c8c49ca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/welcome/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ async function initializeWelcomeView(context: vscode.ExtensionContext, webviewPa
9494
break;
9595
}
9696
})));
97+
context.subscriptions.push(vscode.workspace.onDidChangeConfiguration((e) => {
98+
if (e.affectsConfiguration("java.completion.filteredTypes")) {
99+
fetchInitProps(context);
100+
}
101+
}));
97102
}
98103

99104
function getHtmlForWebview(scriptPath: string) {

0 commit comments

Comments
 (0)