Releases: zardoy/typescript-vscode-plugins
Releases · zardoy/typescript-vscode-plugins
v0.0.50
v0.0.49
✨ 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 viacodeActions.extractTypeInferNamePattern
d296f3d - New code actions: extract to arrow function above! b65558e
🐛 Bug Fixes
v0.0.48
✨ 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 ismatchAll
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
v0.0.46
✨ 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
✨ 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
v0.0.43
✨ 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
v0.0.42
✨ 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