Closed
Description
Describe the bug
Since a few weeks, my VS Code doesn't find code references anymore.
Reproduction
- Open a project that uses Svelte 3
- Go to any TypeScript class defined in a .ts file
- Right click on a class property, function, enum value or similar
- Select menu item "Find all references" (Alt-Ctrl-F12)
Actual result
- VS Code finds references, so it appears to work, but they are only from the TypeScript files
- None of the references in .svelte files are found
- This means that I am regularly breaking my code during refactoring, because I am not seeing all instances of the identifier.
Expected behaviour
- VS Code finds all references, without exception, including in Svelte files
Regression
- I am positive that this worked correctly, not too long ago (a few weeks, maybe 1-2 months).
- I don't know when exactly it regressed and when I updated the VS Code plugin
Non-solution
- Upgrade to Svelte 5 is not an option.
System Info
- OS: Ubuntu 24.04
- IDE: VSCodium
- The project is currently using Svelte 3.55.1.
- Parula is a major application of the size of Microsoft Outlook, Teams, of Thunderbird, with a corresponding code size and complexity, and depends entirely on Svelte for the UI, so even a mild upgrade to Svelte 4 is very risky.
Which package is the issue about?
Svelte for VS Code extension