diff --git a/src/extension.ts b/src/extension.ts index 257d3f15..4d4da30f 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -125,8 +125,9 @@ function registerNotifications({ commands.executeCommand(command, ...args); }); - languageClient.onNotification("sourcery/vscode/showSettings", () => { - commands.executeCommand("workbench.action.openSettings", "sourcery"); + languageClient.onNotification("sourcery/vscode/showSettings", (params) => { + console.log(params.section); + commands.executeCommand("workbench.action.openSettings", params.section); }); languageClient.onNotification("sourcery/vscode/scanResults", (params) => {