-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
Latest release causing types and intellisense as well as variable usages to not function correctly. #2419
Comments
Does this happen to all the files or on a specific file? If it's a particular file, Can you recall if you have renamed the casing of a file? For example, |
Happened to me too, on two different projects. Can even repro by creating the simplest svelte javascript project with Then open in VSCode, make an error somewhere and save the file. You should get an error immediately but you don't. This is on latest Windows 11. Downgrading to dbfb47a could be the reason (just guessing, if file watching is broken then lsp won't try to re-check the files). |
Since both me and @Rotinx are on Windows, this could be Windows only: paths and file watching is something that could break on Windows but not on Mac or Linux. |
Please provide a reproduction that isn't bun. |
It wasn't specific to only one file that's for sure. While I was developing before downgrading I was mainly in components so I cannot tell you if it also effected pages. All generally components are lowercase with dashes test-component.svelte etc that I was working with. I tried replicating it a few minutes ago but no luck so far. I'll give it another go tomorrow. |
Hi, can confirm this happened to me as well.
I think the problem is v108.5.2 somehow lose its "watch file for change" ability. For example.
Unfortunately I'm working on a big collaborated project for a private company so I cannot provide a working example. Sorry for poor English. to jasonlyu: 簡單來說,108.5.2 版本似乎只有在開檔案的那瞬間會做 parse 檢查,之後在該檔案上做任何編輯都不會再觸發檢查,所以蠻有可能是上面網友說的 Windows 的 path watching 問題。 |
Can you check if there is any error logged in the output channel? I am on Windows and can't reproduce this error "stuck" issue. Being working on a svelte project extensively in the last two days and didn't encounter it once.
|
Hello I was having similarissue, where svelte intellisense stopped working on latest version. |
Describe the bug
While using the extension types as well as intellisense and variable usages don't function so your unable to determine that a import or variable has been used or types not loading.
Reproduction
Update to the latest release utilize in a component as you normally would.
Expected behaviour
Types intellisense and variable usages accurately display.
System Info
Windows
VS Code
Extension version v108.5.2
Svelte ^4.2.17
Which package is the issue about?
Svelte for VS Code extension
Additional Information, eg. Screenshots
Downgrading one version solved the issue.
The text was updated successfully, but these errors were encountered: