Skip to content

Releases: zardoy/typescript-vscode-plugins

v0.0.50

18 Feb 15:34
791c6bc
Compare
Choose a tag to compare

🐛 Bug Fixes

  • extension icon should be fixed! 195394e

v0.0.49

17 Feb 19:54
20e2856
Compare
Choose a tag to compare

✨ New Features

  • Now you can exclude non-contextual signature help on manual trigger with signatureHelp.excludeBlockScope (disabled by default) 2ef7de5
  • Add libDomPatching that adds more completions for events (for JS projects only). However it adds incorrect completions sometimes, so enable only if you're sure about it! 58f9829
  • Enable extractTypeInferName by default with ability to specify name pattern via codeActions.extractTypeInferNamePattern d296f3d
  • New code actions: extract to arrow function above! b65558e

🐛 Bug Fixes

  • make type-driven completions publically available with typescript@next cf8e348
  • add kinds to refactorings 19c0a03
  • patch-outline: fix outline crash in ts5.0. Make patching more stable 49e6f9c

v0.0.48

15 Feb 01:05
3a25f12
Compare
Choose a tag to compare

✨ New Features

  • merge object and array settings from different scopes e.g. global and workspace setting values 774572b
  • Namespace Imports! Add a new setting that allows you to make auto imports add namespace imports instead of named imports (also with ability to use global variables instead) a3a023b
  • update-setting: exclude node_modules symbols from workspace symbol search from by default 02eaa55
  • object literal completions for boolean types (a: true/false,) 40b3c35
  • handy!: display import info in completion details for imported symbols. Disabled for now by default as requires symbol patch (setting: suggestions.displayImportedInfo). fa6e025
  • trigger suggest on jsx attribute string snippet completion 1c6d4e4
  • Outline update! Now showing properties of type aliases and optionally first-based indexes of array literals and tuples! 502d22a
  • preview: Improve builtin extract to type / interface code actions to infer extracted type name from linked indentifier name. Disabled by default for now. 1746465
  • Omit<..., ""> suggestions 0a74910
  • new code action to convert first of string method replace to regex eg:
    ''.replace('a(', '...') -> ''.replace(/a\(/, '...'). Note that there is matchAll method for match all behavior and this refactoring intended for matching customization. 5911765

🐛 Bug Fixes

  • make references features work with Volar
    (#94)
  • make fixPropertiesSorting feature work almost everywhere (all known problems fixed) 22f43df
  • fix crash in import all missing imports codeaction when ignoreAutoImports setting filtered all imports for at least one symbol c749068
  • format-disable-directives: Change implementation. Stop patching ts to fix compatibility with incoming TS 5.0 150a064
  • object literal completion now showing for optional objects (but not arrays!). Also fix showing string suggestion for just undefined type 5ff1142

v0.0.47

05 Feb 01:04
e2a60c7
Compare
Choose a tag to compare

🐛 Bug Fixes

  • improve a bit Volar takeover mode support bee60ef
  • remove experimental postfixes from extension
    use ipatalas.vscode-postfix-ts extension instead, which is the best at postfixes 1914d7f
  • allow to have space before ignore format directive and any content after 2764835

v0.0.46

02 Feb 10:13
0d34cb0
Compare
Choose a tag to compare

✨ New Features

  • add ability to Disable formatting a region of code using ts directives 🚀
    ref microsoft/TypeScript#18261 c2dab53
  • add out of the box keybinding to unleash TypeScript's mechanism of renaming variable name in string & comments in renaming files (ctrl+shift+enter) 🚀 11d1e23

🐛 Bug Fixes

  • remove useless vueSpecificImprovements setting
    (#88)

v0.0.45

31 Jan 08:51
936fc4a
Compare
Choose a tag to compare

✨ New Features

  • add a way to add excludes to workspace symbol search (eg to exclude node_modules for source search only, also improves performance) bc0d31a

🐛 Bug Fixes

  • hardly cache API responses, now we make as few requests as possible to TS server. eg now thousands of extensions can use api in completion providers without affecting performance beba952
  • also allow to pass document and position (offset alternative) in API commands options as second arg beba952
  • improve removal of modules and css index definitions 67da634

v0.0.44

24 Jan 21:32
14e13b0
Compare
Choose a tag to compare

✨ New Features

  • completion: Include file extensions that should have included. List of extensions is derived from module augmentations, but can be extended with setting for unchecked contexts. 873c2d1

🐛 Bug Fixes

  • specify all possible values for removeCodeFixes.codefixes! 873c2d1

v0.0.43

24 Jan 18:04
45e31b1
Compare
Choose a tag to compare

✨ New Features

  • emmet: exclude simple uppercase suggestions when strict emmet is enabled (disabled by default) 841a2cd
  • definitions: exclude css modules index definition. It is included in miscDefinitionImprovement that is enabled by default. e1a1596
  • handle special value of jsx elements (always goes to end of element tag) c8302bb
  • displayAdditionalInfoInCompletions, disabled by default 9db76d4
  • support some most-basic cases from microsoft/TypeScript#49033 (with "static" generics) like:
    type B = { foo: 5, bar }
    const a = (a: T) => {}
    a('foo') 8e52224

🐛 Bug Fixes

  • jsx-emmet: speedup emmet suggestions after first keystroke 9828689
  • update volar config path after update to newer version fdbfb93
  • Speed up completions details resolving by vscode API (evaluate isGoodPositionForMethodCompletions once) 9db76d4

v0.0.42

11 Jan 04:50
5b9fe6b
Compare
Choose a tag to compare

✨ New Features

  • Add support for Volar (.vue SFC files)! For the first time, it will configure volar.vueserver.configFilePath setting, but to enable this support use "tsEssentialPlugins.enableVueSupport": true setting. This also makes plugin work in takeover mode! 71e9f2c
  • rework replaceSuggestions feature. Main property now support * to match word with any length (0 included, transforms to .* regex), also more configuration values to filter & patch were added and add config fixes 71e9f2c

🐛 Bug Fixes

  • don't activate Volar (.vue) support from out of the box to not break default behavior of loading local config files (./volar.config.js).
    You should enable Vue support it if you're not using aforementioned local config file with "tsEssentialPlugins.enableVueSupport": true cea2bb9
  • ban method snippets for export {...} ccbdca7
  • a lot of fixes were rules of replaceSuggestions were applied incorrectly. Skip processing completions that were already processed by previous rules. 71e9f2c

v0.0.41

25 Dec 16:19
18dcc3f
Compare
Choose a tag to compare

🐛 Bug Fixes

  • completions-regression: fix autoImport hiding & sorting wasnt working in some (non-global) contexts fe9bc4b