language-tools
language-tools copied to clipboard
The Svelte Language Server, and official extensions which use it
### Describe the bug In settings with:  typing `script` and tabbing for completion doesn't insert the lang='ts' ### Reproduction type script at the top of a .svelte file and...
### Description There doesn't seem to way to extend the language tool for custom elements. ### Proposed solution Vue and JSX templates have an interface that can be extended to...
### Describe the bug I have an async fuction that I use in my use directive, but LSP gives me a type error although the code works as intended. I...
I have created a [typescript plugin](https://github.com/tw-in-js/typescript-plugin) that powers [Twind IntelliSense for VS Code](https://github.com/tw-in-js/vscode-twind-intellisense). Is it possible or would it be possible to have the completions/diagnostics from that typescript plugin within...
#2233 update project files(tsconfig.include) when a new client file is opened. So files included in both tsocnfig.json will be loaded into the respecting language service.
### Describe the problem The following component ```html let typedVariable = $state("value1"); // If not using runes: `let typedVariable = "";` {#each values as value}
### Describe the bug If you try to import a Svelte component with a snippet in a TS file, the type is not inferred correctly. ### Reproduction ```ts // foo.ts...
### Describe the bug Adding a slot prop to a component and using it in the parent with `let`, gives a TS error on the parent. ### Reproduction https://github.com/ciscoheat/let-slots-error Open...
### Describe the bug The type of `` seems to be `any` making it possible to pass any props. Replacing `svelte:self` with `svelte:component` and importing the component itself works as...
**Describe the bug** Not quite sure if its within the scope of the `Svelte` plugin but: If you have: ``` ``` And try to do class selector within the style...