language-tools
language-tools copied to clipboard
The Svelte Language Server, and official extensions which use it
Currently, custom elements added to `SvelteHTMLElements` supports autocompletion, but no description is displayed (from the JSDoc), while their attributes support both autocompletion and JSDoc description. This PR's goal is to...
### Describe the bug #### **1. Description** *Describe the bug clearly and concisely.* When using the "Rename Symbol" (F2) refactoring feature in VS Code on a TypeScript type within a...
### Description While legacy mode events, like `on:click={}` of `on:scroll={}` etc... is nicely highlighted (combination of red and green), using Svelte 5 events, displays events in green colour, which is...
### Describe the bug ### Reproduction Just create the default sveltekit minimal app ``` npx sv create app ``` Open in VSCode Witness the error in any .ts file that...
### Description https://github.com/sveltejs/kit/issues/14315 TLDR: consider displaying a warning when developers have potentially misspelled filenames (eg: hook.server.js instead of hooks.server.js, page.svelte for +page.svelte) ### Proposed solution This could maybe be displayed...
### Description Custom snippets only work when you wired up svelte with html as "include languages" in vscode emmet's setting However this will duplicate already available snippets in suggestion window...
### Description Per https://github.com/sveltejs/kit/pull/13935 loading `svelte.config.ts` is supported. However, when I use such a file in my project it seems to be undetected by both my IDE tooling and when...
### Describe the bug The extension crashes on start. I think the issue is with [references](https://www.typescriptlang.org/docs/handbook/project-references.html) typescript option. If you remove [references](https://www.typescriptlang.org/docs/handbook/project-references.html) in `tsconfig.json` the extension type checking and linting...
### Describe the bug When defining a type `Foo` inside `foo.svelte`, it gets overridden by the generated component type with the same name. ### Reproduction [StackBlitz](https://stackblitz.com/edit/sveltejs-kit-template-default-eknrr6j4?file=dist%2Ffoo.svelte.d.ts) ### Logs ```shell ```...
### Describe the bug Description: The Svelte Language Server crashes repeatedly during initialization when working with a multi-app TypeScript monorepo setup. The crash occurs in the TypeScript service cleanup phase...