language-tools
language-tools copied to clipboard
The Svelte Language Server, and official extensions which use it
### Describe the bug Hi! Given the component below, a `bind:this` will return a component instance where some read-only exports are typed and some are not: ``` const foo =...
### Describe the bug Syntax hilight gets weird in some case when import a ts file ### Reproduction I can't make specific reproduction of this case... it's in random moments...
### Describe the bug When using experimental generics, there is a bug happening where the `let:prop` type is not being passed up to the parent component, causing type issues within...
**Describe the bug** JSDoc in Svelte JS files are not recognized. This for example leads to wrong typings of properties when using them inside TS files. **To Reproduce** Use strict...
### Describe the bug @dummdidumm **Expanding the problem** In `{expression}` auto indent does not work, does not respect VSCode setting `editor.autoIndent`: https://user-images.githubusercontent.com/16800535/187180741-8e104b61-c29a-4bc7-aee3-4fc0e7872ad4.mp4 --- It doesn't even support snippets, for example...
### Description Svelte respects the `editor.autoIndent` setting in `markup`. But it does not include it at all in the `script` and `style` tag. ### Proposed solution Please add `editor.autoIndent` support...
### Describe the bug After importing some data from JSON with typescript's resolveJsonModule, when you update the JSON file language server does not refresh it - running `Restart language server`...
### Description There are several times where you need to cast a property inside the svelte template to get rid of TypeScript errors, but doing this inside the svelte template...
### Description It would be awesome if this language server could be installed via https://brew.sh/. ### Proposed solution Create a package for brew.sh ### Alternatives _No response_ ### Additional Information,...
I'm using the `fetchpriority` property on an `` tag and it is causing svelte-check to error. ```svelte Error: Type '{ src: string; alt: string; fetchpriority: string; }' is not assignable...