language-tools: formatter never finishes
When I save a .svelte
file, a popup appears in the lower-right that says “Saving ‘Hello.svelte’: Running ‘Svelte Beta’ Formatter (configure).” It stays there for about a minute and then disappears. But the file is not reformatted. Is there something I can do to help track down the issue?
System (please complete the following information):
- OS: macOS
- IDE: VSCode
- Plugin/Package: Svelte Beta
There are no lines in my settings.json file for VS Code that contain “svelte”. I don’t have “files.associations”: {“*.svelte”: “html” } inside my VSCode settings. I have disabled all other Svelte-related extensions and restarted VS Code. It is not a preprocessor related bug.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 29 (15 by maintainers)
Commits related to this issue
- (fix) don't exceed workspace path when searching for jsconfig/tsconfig Closes #115 — committed to dummdidumm/language-tools by deleted user 4 years ago
- (fix) don't exceed workspace path when searching for jsconfig/tsconfig (#138) * (fix) don't exceed workspace path when searching for jsconfig/tsconfig Closes #115 * log error if no workspace pa... — committed to sveltejs/language-tools by dummdidumm 4 years ago
@Ciantic I did not say
tsconfig.json
is not supported. The language server should read your config file and act accordingly, so strict mode is possible to use.What’s your output inside Output->Svelte ?
UPDATE: Seems like something screwed up in the last deploy, so most people are getting this right now. See #174 for more info.