language-tools
language-tools copied to clipboard
The Svelte Language Server, and official extensions which use it
### Describe the bug Whenever I try to import anything from Svelte, the `import ... from` the autoimport gets duplicated. More details on the issue at Zed's repo: https://github.com/zed-industries/zed/issues/19214#issue-2588344463 (Video...
fix #2637
### Describe the bug When using the extension to generate a new `+error.svelte` file it gives this output: ```svelte import { page } from '$app/stores'; {$page.status}: {$page.error?.message} ``` This uses...
For svelte2tsx we gotta make a compromise - since everything has to be sync, we can only pass the unpreprocessed file. Should be fine in practise because a preprocessor influencing...
Hello! This PR modifies the behaviour of the Svelte VSCode extension so that it activates for URIs that don't use the `file://` scheme. During standard extension usage, this makes no...
### Describe the bug On MacOS, when by mistake one creates a .Svelte file instead a .svelte one, the vscode svelte extension does not complain but vite will and will...
### Describe the problem When passing a function prop to a component that uses typescript, typescript will show an extra suggestion as an autocomplete for the method as it would...
### Describe the bug When you import `derived` from `svelte/store`, it seems like `$derived` breaks the lsp.  ### Reproduction Use `derived` from `svelte/store` in the same file as `$derived`...
### Describe the bug Doc comments with `@link` tags are no longer clickable links when rendered to their tooltip within a `.svelte` file. ### Reproduction The following interface: ```ts interface...
### Describe the bug I am creating a Button component where it can be an html button element or an anchor tag based on whether an href prop is passed...