We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 411f3e5 commit 90e0c5aCopy full SHA for 90e0c5a
src/extension.ts
@@ -125,8 +125,9 @@ function registerNotifications({
125
commands.executeCommand(command, ...args);
126
});
127
128
- languageClient.onNotification("sourcery/vscode/showSettings", () => {
129
- commands.executeCommand("workbench.action.openSettings", "sourcery");
+ languageClient.onNotification("sourcery/vscode/showSettings", (params) => {
+ const section = params && params.section ? params.section : "sourcery";
130
+ commands.executeCommand("workbench.action.openSettings", section);
131
132
133
languageClient.onNotification("sourcery/vscode/scanResults", (params) => {
0 commit comments