From 0afa5e8096181d5c9e6baa091a047bd5d3ef5f5c Mon Sep 17 00:00:00 2001 From: Chayim Refael Friedman Date: Fri, 7 Mar 2025 00:16:54 +0200 Subject: [PATCH] Mark `rust-analyzer.showSyntaxTree` config option as requiring server restart We register the provider when we start the server. It confused me why I set the option and it didn't work, so probably better to have it hint people. --- editors/code/src/config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index 2ae3291345..896b3c10cb 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts @@ -27,6 +27,7 @@ export class Config { "server", "files", "cfg", + "showSyntaxTree", ].map((opt) => `${this.rootSection}.${opt}`); private readonly requiresWindowReloadOpts = ["testExplorer"].map(