-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't find symbols unless *.ts/*.js file is open #2375
Comments
Marking this as a feature request because we didn't actually have workspace symbol support. What you see is provided by the TypeScript extension. Most of the current TypeScript features for svelte files are also provided by the Svelte extension while The TypeScript extension provides the ts/js features. It is separated, opening a svelte file won't automatically activate the TypeScript extension. |
Could be convenient to have at least TypeScript extension activated if the Svelte file with |
Describe the bug
There is a known bug / inconvenience in VSCode: if you don't open any *ts/*js files in your project, you can not find symbols defined there using "Go to symbol in workspace..." command.
But when working on Svelte project, having any *.svelte file open is not enough to make the command to work: you always have "no matching symbols" message. You still need to open *.ts file to make it work.
Reproduction
Expected behaviour
Open *.svelte file should be treated by VScode as a ts/js file, and should activate JS/TS extension to perform symbol search.
System Info
Which package is the issue about?
Svelte for VS Code extension
Additional Information, eg. Screenshots
The text was updated successfully, but these errors were encountered: