language-tools
language-tools copied to clipboard
The Svelte Language Server, and official extensions which use it
### Description Not sure if this is related to the language tool, but I'd love to see the new "Expandable hovers for JavaScript and TypeScript" feature available in .svelte files....
### Describe the bug There seems to be an issue with parsing object types for snippet parameters. This only happens when the is below the snippet definition. ```svelte {#snippet foo(props:...
### Describe the bug Hi! If I start the svelte language server with the following settings ```lua svelte = { settings = { typescript = { inlayHints = { parameterNames...
### Description The top breadcrumbs bar only show elements and not svelte blocks like `{#if }`: (it also doesn't show the elements fully correctly, like `ButtonDiv.{[`) ### Proposed solution Blocks...
### Describe the bug If you run svelte-check whilst having a dev-server running, svelte-check will override the vite mode to `production`. This makes it so that you either have to...
### Describe the bug When not declaring an explicit type for props, it seems `type` declarations cannot be `export`ed. ### Reproduction This works: ```svelte export type ExampleType = 'A' |...
## Summary Completes a comprehensive migration of the entire test suite from Mocha to Vitest, modernizing our testing infrastructure across both the language server and svelte2tsx packages. ## Changes Made...
### Describe the bug When using [CSS container scroll-state queries](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_conditional_rules/Container_scroll-state_queries) in the `style` element inside a Svelte component, an error is reported saying `( expected css(css-lparentexpected)`. The same error is...
extension in runtimes that support it. Should .cjs be removed? The `--experimental-modules` flag is probably not required anymore either. TODO: tests Question: why is the config loader using find-up? As...
### Describe the bug Hello all! When I use `svelte-check` command with `--output machine` vs `--output machine-verbose` it returns different line numbers. The reason for this is that [here](https://github.com/sveltejs/language-tools/blob/master/packages/svelte-check/src/writers.ts#L175-L192) it...