Releases: sveltejs/language-tools
Releases · sveltejs/language-tools
102.6.0
- (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>variableusage possible by transform it to avariable as anyexpression (#477) - (fix) ignore html end-tag-like inside moustache (#309)
- (fix) better tyings for svelte2tsx class generation function (#686)
102.5.1
102.5.0
102.4.0
- (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
$onof 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
- (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
- (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=valueonlynameis 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
102.1.0
- (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)
102.0.0
- (chore) bump cosmiconfig to support
.cjsconfig endings (#548) - (fix) Don't track
ainimport {a as b} from ..as a declared variable (#551, #549) - (fix) fall back to
FormattingOptionsin case no prettier configs are found (#554, #539)
BREAKING CHANGE:
If user has no prettier config, he now gets the tab size / space/tabs-settings of his IDE, not the default prettier config