You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using either of Svelte: Find Component References or Typescript: Find file references commands in a Svelte project creates an empty .vscode/settings.json file.
I haven't been able to replicate in other repos without Svelte files so I think this is specific to the Svelte extension somehow.
Reproduction
pnpm create svelte
pnpm i
Open in vscode
Run the Svelte: Find Component References command
Observe a new file .vscode/settings.json appears with the contents
{
}
Expected behaviour
.vscode/settings.json to not be created
System Info
OS: Windows
IDE: VSCode
Which package is the issue about?
Svelte for VS Code extension
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered:
Duplicate of #1516. But It should be Svelte: Find file reference that will create an empty setting. The reason is the lack of API to make the reference UI always use the references view (sidebar) instead of peek.
Typescript: Find file references is the ts equivalent of Svelte: Find file reference. TypeScript extension provided this feature and should also have the same problem for non-svelte projects. We adopted the implementation from VSCode so both have the same problem. If your Svelte: Find file reference does have the problem, it might have something to do with your user setting or is caused by another extension.
@gtm-nayan could you double check if Svelte: Find Component References really creates a file, and if yes, check if this happens if only the Svelte extension is enabled?
Both the Svelte: and the Typescript: commands create the files for me, the Svelte: command is not available with the extension disabled, but the other one seems to create the file even after I disable the extension and restart VSCode.
I think I missed the file being created in the non-Svelte repo because it was not tracked by git. Oops.
Describe the bug
Using either of
Svelte: Find Component References
orTypescript: Find file references
commands in a Svelte project creates an empty .vscode/settings.json file.I haven't been able to replicate in other repos without Svelte files so I think this is specific to the Svelte extension somehow.
Reproduction
pnpm create svelte
pnpm i
Open in vscode
Run the
Svelte: Find Component References
commandObserve a new file
.vscode/settings.json
appears with the contentsExpected behaviour
.vscode/settings.json
to not be createdSystem Info
Which package is the issue about?
Svelte for VS Code extension
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: