-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
JS/TS language service crash with other TS extensions #2138
Comments
I can't reproduce this following your "Reproduction". Please provide reproduction in a repository form. |
Sorry you weren't happy with my "reproduction". I'm trying to narrow this down to a repro but unsuccessful currently. It is related to microsoft/TypeScript#51644 in Typescript > 4.9. But it has just suddenly appeared for me, so working out why. |
Does this happen to all your projects, or is it only a specific one? Maybe it's caused by another extension. What happens if you disable all other extensions? You can create an empty settings profile so it's easier to switch back. |
The problem goes away if Svelte for VS Code is the only enabled extension effecting the TS language server. If I enable another one that does hook to the TS language server, like Imba's I'll take a deeper look later this week. For now, I can disable |
They use Edit. I changed my mind. It's easier to just define it manually than argue with them to not do this. |
Great! I think that's a smart move so that this conversation isn't just repeated in the future. Installed extension from location and set |
Describe the bug
Upon opening a .ts file, my TS language service crashes. It does not matter if I use
[email protected]
in my workplace, VSCode Insider's5.2.2
, or the Typescript Nightlyms-vscode.vscode-typescript-next-5.3.20230821
. If I uninstall this Svelte extension, there is no crash.Starts at
resolveSvelteModuleName
Reproduction
VSCode Insiders
1.82.0-insider
Svelte for VS Code
v107.10.0
A svelte project with a
.ts
file open to start the language serverExpected behaviour
No crashing of the language server
System Info
Windows 10
VSCode Insiders
1.82.0-insider
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: