language-tools icon indicating copy to clipboard operation
language-tools copied to clipboard

The Svelte Language Server, and official extensions which use it

Results 329 language-tools issues
Sort by recently updated
recently updated
newest added

### Describe the bug I created a custom transition that returns a function of type `(options: { direction?: 'in' | 'out' }) => TransitionConfig`, which Svelte supports. See, https://github.com/sveltejs/svelte/blob/[email protected]/packages/svelte/src/internal/client/types.d.ts#L131 Apparently,...

bug

### Describe the bug When I do `Organize Imports` in VS Code, the closing `script` tag is removed. ### Reproduction ```svelte import { Foo } from "$lib/bar.js"; {#snippet baz()} {/snippet}...

bug

### Describe the bug A code is executed from `vite.config.ts` upon opening `.svelte` file. For example, opening file from non-trusted svelte source may perform unwanted changed to a filesystem: e.g....

bug

### Description [solution style `tsconfig.json` files](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-9.html#support-for-solution-style-tsconfigjson-files) allows to apply different typescript settings to different directories. https://github.com/sveltejs/language-tools/pull/2463 added support for project references, but it seems it doesn't work with solution style...

### Describe the bug Adding a comment tag inside a template tag breaks the highlight, in somewhat look-alike with #694. It might be an edge case. ### Reproduction 1. In...

bug

### Describe the bug `param: string` is required for [inferred type predicates] to work [inferred type predicates]: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-5.html#inferred-type-predicates ```ts // src/params/fruit.ts // const match: (param: string) => boolean export const...

### Describe the bug When using the `:global(...)` selector with an argument nested under an element selector in a LESS css block, the syntax highlighting gets messed up (it continues...

bug
upstream

### Description If a symbol from a `.svelte.js` file is selected from a suggestion dropdown in VS Code, the added import lacks the `.js` extension. If the extension is missing,...

feature request

### Describe the problem I want intellisense to throw if public-facing code imports server-only code instead of waiting for me to hit the route in the browser. ### Describe the...

feature request

Through #1048, I noticed there is a difference between how JS and Svelte files imported from node_modules are handled: - Imports from node_modules that have no accompanying type definition (`d.ts`...