Svelte

feat: workspace symbols support

#2769

Pull request

Merged
J
jasonlyu123
May 23, 2025, 3:40 AM

. Adding support in the Svelte language server so that you don't need to open ts/js files to use this feature. You can trigger this feature with Ctrl + T and search for symbol names. Some of the handling is also synced to the typescript-plugin so that it's more consistent, which also means vscode can better deduplicate the results from both tsserver and Svelte language server.

If users are using an lsp client that doesn't deduplicate results from different language servers, you can also disable this feature so that it doesn't show duplicate entries. Or if your client allows you to write your own middleware, you can skip the calculation if the ts extension is running.

Info

Merged at Jun 19, 2025, 9:17 AM
Merged by dummdidumm
Assignees None
Reviewers None
Labels None
Milestone None

Pro tip: You can prefix GitHub URLs of issues, PRs or discussions with svcl.dev/ to view them on this page! Also try it on a GitHub release ;)