Skip to content

Releases: sveltejs/language-tools

102.8.0

11 Dec 13:58
4862c8d
Compare
Choose a tag to compare
  • (feat) restart language server when tsconfig/jsconfig changed
  • (feat) prettier/emmet VS Code setting updates are now reflected in the LSP (#709)
  • (feat) option to disable emmet for html/css (#708, #677)
  • (fix) only search for imports to update when ts/js/svelte/json file paths changed
  • (fix) add part attribute (#703)
  • (fix) Fall back to any-type when a prop has no fallback value in JS (#697)
  • (fix) Transform if-blocks to ternaries. This way the TypeScript control flow will be broken in less instances of nested if-blocks (#619)

102.7.0

04 Dec 13:49
bed66a1
Compare
Choose a tag to compare
  • (feat) imports now adhere to your ts/js module-ending/quote-style user preferences (#681)
  • (fix) syntax highlighting for each/await when there is a variable that starts with as/then (#692)
  • (fix) syntax highlighting inside template (#694)

102.6.0

25 Nov 10:10
e72c8c4
Compare
Choose a tag to compare
  • (feat) brand new syntax highlighting grammar which gives more fine granular options to color Svelte specific syntax. See here for how to adjust the colors, if you don't like some of the colors your theme chooses. (#657)
  • (fix) import completion: Insert inside script when it's not the first import and module script present (#660)
  • (fix) handle negative lines in mapper (#666)
  • (fix) event handler typing (#672)
  • (fix) make <any>variable usage possible by transform it to a variable as any expression (#477)
  • (fix) ignore html end-tag-like inside moustache (#309)
  • (fix) better tyings for svelte2tsx class generation function (#686)

102.5.1

05 Nov 20:05
69e4971
Compare
Choose a tag to compare
  • (fix) correct blanking of script/style (#655)

102.5.0

05 Nov 15:28
5e54e26
Compare
Choose a tag to compare
  • (feat) typescript signature help (#653)
  • (fix) add back export const, function and class being valid props so they can be used for bind:X (#649, #647)
  • (perf) intellisense should perform better on files with large script/style tags now (#654)

102.4.0

30 Oct 15:39
d412d37
Compare
Choose a tag to compare
  • (feat) JSDoc support: Autocompletion, hover info (#572)
  • (feat) Improved Pug syntax highlighting (#295, #106)
  • (feat) When having a tsconfig.json, newly created TS/JS files within project scope are now known directly and not only after a first import to Svelte files (#639)
  • (fix) Correct rename settings (#640)
  • (fix) Relax svelte2tsx typing to prevent "cannot read property $on of unknown" errors when using TS and importing untyped library components (85c7e94)
  • (fix) deal with ranges with swapped start/end (829cf87)
  • (fix) Bump HTML language service, removes duplicated autocompletion suggestions and improves parsing (#547)

102.3.0

22 Oct 07:56
68c187c
Compare
Choose a tag to compare
  • (feat) Jsdoc template completion (#607, #572)
  • (feat) Selection range (#556)
  • (fix) Broken link to "Using with preprocessors" (#609)
  • (fix) Filter out invalid class name chars (#613)
  • (fix) Handle $$slots with dashed-name (#617)
  • (fix) Improve on:event autocompletion (#621)
  • (fix) Props/Events doc: extract last leading multiline comment instead of first; strip typedef (#612)
  • (fix) correct syntax highlighting when there are numbers in the attribute name (#625)
  • (fix) add missing attributes intermediate, ismap, allowpaymentrequest (#628)

102.2.0

15 Oct 05:42
9356897
Compare
Choose a tag to compare
  • (feat) adhere to vscode emmet config (#591)
  • (fix) syntax highlighting for namespaced svelte components (#599)
  • (fix) turn off intellisense for stylus because it would give wrong results (#590)
  • (fix) now within name=value only name is highlighted as a attribute name color (#595)
  • (fix) getDefinitions falls back to Location if LocationLink is not supported (#592)
  • (fix) add missing events to autocomplete (#545)
  • (fix) format files within node_modules, too (#604)
  • (chore) bump prettier plugin to 1.4.1 (#606)

102.1.1

03 Oct 07:18
00d1b03
Compare
Choose a tag to compare
  • (fix) The target of bubbling events cannot be assumed (#579)
  • (fix) Mappings for <script context="module"> (#584)
  • (fix) In case of export let bla = true/false where the boolean typing is not given by the user, prevent TS from thinking the type is false/true instead of boolean (#588)

102.1.0

27 Sep 08:23
354432a
Compare
Choose a tag to compare
  • (feat) Support for the new {#key} block (#570, #577)
  • (feat) Find references (#566)
  • (fix) silence false unused-export-let (#573)
  • (fix) await/each/if block close at wrong position (#568)
  • (fix) Fall back to FormattingOptions if configs are empty (#539)
  • (fix) reactive break (#559)
  • (fix) slot without spaces between components (#560)