typescript-vscode-plugins

NO LIMITS FOR TS! Isn't this the most advanced TypeScript plugin as VS Code extension ever created?

MIT License

Stars
56
typescript-vscode-plugins - v0.0.60

Published by zardoy over 1 year ago

🐛 Bug Fixes

  • bundle volarConfig deps
    Volar (Vue) integration doesn't work (#131)
typescript-vscode-plugins - v0.0.59

Published by zardoy over 1 year ago

✨ New Features

  • cleanupVueComponentCompletions 706ec5952390212edb4d27b4aa6b9637f3c5b4ac

🐛 Bug Fixes

  • volar: update definitions filtering (#129)
  • fix ctrl+clicking (definition) for some module file paths (with ambient def)
    e.g. fixes go-to-definition on import("./Test.vue") 5ac89fd77f0b8f5b1268bdcbca79363b22b4f3c2
  • fix extract to jsx component with zero props empty braces 00a0e3f9692fa1875623cc4c90f6e80f6b99821a
  • mark global completions should work in any context except dot access 208e9a63d0bc88cd6716bff92842d661d7177420
typescript-vscode-plugins - v0.0.58

Published by zardoy over 1 year ago

✨ New Features

  • support override plugin's settings for vue files (e.g. replace some suggestions only in vue files!) 40fe6392647eee83cdcd1d6817acc9baa193724c

🐛 Bug Fixes

  • fix enableStrictEmmetInJsx command 545bd13d68404f8168eaaaceeb5eb5e9efc4aa1c
  • always use workaround for insert completion name in vue files 801befdd8e724b223035747812214b4b7d543bef
  • fix filtering jsx elements in completions for react ts 5.0 a0a09bc700824c7dc563f0c8cd44861848d1098e
  • keyword star bug when intellisense extension is installed 594672e9b1cd92b2379be9ad4d03d7431e91c69d
  • plugin was breaking support for Move to File refactoring 49aa0dc73bbfa300068e113f01bd76ce8707acf0
typescript-vscode-plugins - v0.0.57

Published by zardoy over 1 year ago

🐛 Bug Fixes

  • update support for new volar 30384a0f42408811a5d31450cadd1265d9d3b1a2
  • fix method snippets for classes with implicit constructor and functions within constructor arguments e.g. new A(foo()) 2a39444fb26887b9692fdf714d9701bed61d5fbf
  • method-snippets: fix expanding method snippets in some edge-cases c7f06189acc45ca31beba443f752ad810d9eee15
typescript-vscode-plugins - v0.0.56

Published by zardoy over 1 year ago

✨ New Features

  • Add methodSnippetsInsertText setting so you can finally preview method snippets and use them in Vue files! 62b0822f27f30c3fb48070d9cb217966038c7154
  • special-command: New command: copyFullType to copy title from hover to your clipboard without truncation! bb609cda44f72b70936f13731401819db6f85dbe
  • Add workaround way for inserting name of completion. Enable it via experimental.enableInsertNameOfSuggestionFix cc2dd243c10f034132060530dd30d67a75d2ab94

🐛 Bug Fixes

  • enable insert text method snippets and locality bonus on even more completions 94f26c5512bffa74ff928e38718bd559c90a1e64
  • don't enable method snippets before ( in some edge-cases 24a94ce387851ee0b52fe5d5514e018927063533
  • fix tuple signatures label display for ts 5.0 8f512fc9fa3ab79a0fd3815727c716db5988be03
  • insert-name-of-completion: insert with correct range by default 7ed2c15eb5b75b6a18ff5cdf24856d847a482292
  • object-literal-completions: escape $ dad4d6ec50fec753f8ddc7ea26c4e9d7f7d077da
typescript-vscode-plugins - v0.0.55

Published by zardoy over 1 year ago

🐛 Bug Fixes

  • disable object literal completions for global completions (fix regression) f862cb600b3809b742d88b66692dd24b610d577f
  • object-literal-completions: TypeScript completion got frozen #123 0fbf3ca0d12ca55d2b43dd58b51aa0dbc2e267b2
typescript-vscode-plugins - v0.0.54

Published by zardoy over 1 year ago

✨ New Features

  • object literal completions for just true or false types c92d568e1457ee88e5eabd65d3398f6346a491e9
  • insertNameOfCompletion command that is useful to bind when suggest widget is visible to insert name instead of insertText of TS completion. Useful with "tsEssentialPlugins.objectLiteralCompletions.keepOriginal": "remove" af72f557df32caa00c6e032c8ed8dc782058e7dd
  • renameImportNameOfFileRename - disabled by default, but super recommended a45ad97e59bbb3ecbd823de6c324e18a21c62be1
  • skipNodeModulesReferences (disabled by default, but recommended) 2bde27c333417fc48d199274875c17f79cc66396

🐛 Bug Fixes

  • object-literal-completions: use symbol completion knowledge. In other words starting from TS 5 now object literal completions should work in absolutely any location for any supported completion c92d568e1457ee88e5eabd65d3398f6346a491e9
  • rewrite method-snippets so they are faster and compatible with Windows on latest vscode release. Now they are resolved when showing documentation (much earlier), instead of when completion accepted. 20c53f4eb8dd1025737a823cbdf4cddd92ed179f
  • volar: prevent LS crash (#122)
typescript-vscode-plugins - v0.0.53

Published by zardoy over 1 year ago

✨ New Features

  • method-snippets: Now to insert a method snippet for Object or lodash you need to accept suggestion twice (ambiguous suggestions) 3270caca63326f622da6c8b22ddbad1d9b4afceb
  • method-snippets: enable constructor call snippet when in new expression 09678afa6aa6ffe605846dea362a36fe3677cc3e
  • vue-options-api: Add a setting to remove local component definitions (#117)
  • suggestions: Locality bonus! (disabled by default, SUPER recommended, enable with suggestions.localityBonus)
    (#46)
  • string template type completions!
    e.g. const a: `foo_${string}_bar` = '/*now completes!*/' 65a27ae8a63fa01407828d0938362db6bdbe7663

🐛 Bug Fixes

  • object literal completions for optional boolean types 9641211286cc0764fa503f86a105082a5feff08e
  • method-snippets: skip trailing arguments with void type (user experience) 6201eeb53105d9b954dada9810c58924de42febe
  • fix all code action was applying too early on Source Action vscode command b075ff1f92d5d7308cf669372927128172b33a59
  • don't activate plugins' object objectLiteralCompletions before : f0412c1c55ecc1e337f9eeccf3e139e380cca4e0
  • rare TS error with incorrect special command invocations 93fc92315ff3ce9849b2d31812a869f6ebd56e26
  • method-snippets: now method snippets always insert single-line snippet 0f979d569f00f410f6d6b5d1016812688c5179fd
  • bump minimal supported vscode version to 1.72.0 to support code actions with snippets 51f0340e095cbacf63c86cf321f6ec91e5f3fbc4
  • correctly pass range of string completions from plugin (affects completions with space) 238ff9015d34761ccdea7852fced2d6a14a9ee3a
typescript-vscode-plugins - v0.0.52

Published by zardoy over 1 year ago

✨ New Features

  • Add all value to methodSnippets.skip so you can get the same behavior as WebStorm has out of the box 69d0a9fbe4988d7b816cde3577c213e23fc4f95f
  • based-on-feedback: Change the default of methodSnippets.skip to optional-and-rest so it prefills only required params out of the box. Motivation: align default with vscode built-in behavior. 69d0a9fbe4988d7b816cde3577c213e23fc4f95f
  • restore properties sorting for JSX component props 9312b04a9a308e0d06e2d70e18a53d021dc8a14c
  • now global lib completions are marked with glob! (super recommended to enable) 965efbb892a7066885929ccb9d704559df05a323
  • signature for tuple types! (disabled by default, but recommended) 2e31ec24d00f32461b58db01cfd1c13d17523a13

🐛 Bug Fixes

  • method-snippets: ? for optional arguments should be inserted only when insertMode is always-declaration 69d0a9fbe4988d7b816cde3577c213e23fc4f95f
  • fix meanings of values for objectLiteralCompletions.keepOriginal (no user action required) f89250c9b12b4da756d47b0514cea338e113056f
  • don't activate method snippet before tick ` e9534481e1464e6c572c4ce4796f7cfba9a665f1
  • method-snippets: fix method snippets in some rare cases (don't use getContextualType as sometimes it was returning any)
    hard to test this case f117d6bb35042041145ded0aef34d5f1face773d
  • hotfix for Vue Volar support after update: keep config path updated 0eab0b84c525e07ffa344d5c69205997a965a6c9
typescript-vscode-plugins - v0.0.51

Published by zardoy over 1 year ago

✨ New Features

  • add methodSnippets.replaceArguments (powerful way to customize methodSnippets) 1ff18939fe68e82221de0b633afd710d655f76ed
  • new-refactoring: Add Split Declaration and Initialization refactoring code action! The activation range is either const or let keyword. Also, add comparing refactor extensions docs (#108)
  • add extract to JSX component refactoring and display it instead of extract into function code actions when range within jsx
    update docs f2a83cc8fd8c19382fda0313b047db0c02e84106
  • Rewrote enableMethodSnippets from the ground, fixing old bugs and introducing absolutely new modes (settings). Now enableMethodSnippets works on absolutely any variable that actually has signature. Finally! 0ef516a1d94545577f82977bc429ac7fba6d4e22
  • experiments.changeKindToFunction (disabled by default), change arrow functions to method kind in completions. 6493a3ad2e51ab64aec9eb9dce9c0b3e11770615

🐛 Bug Fixes

  • don't crash "fix all missing imports" in unpatched ts 5.0 d13b25bbb0155d285521f85cf106a8f8a75d7bf6
typescript-vscode-plugins - v0.0.50

Published by zardoy over 1 year ago

🐛 Bug Fixes

  • extension icon should be fixed! 195394e2e18408b1453fba0505e02ff031497670
typescript-vscode-plugins - v0.0.49

Published by zardoy over 1 year ago

✨ New Features

  • Now you can exclude non-contextual signature help on manual trigger with signatureHelp.excludeBlockScope (disabled by default) 2ef7de54db00b150f9fe002d5b88a565686d87d2
  • 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! 58f98298cf8f2c39acfbfed6901e2a4297f0026a
  • Enable extractTypeInferName by default with ability to specify name pattern via codeActions.extractTypeInferNamePattern d296f3dfedd3f0a620046dac8d1884529c7f10f7
  • New code actions: extract to arrow function above! b65558e09d6d90fd9ef67c42a0f00f0a8e00193a

🐛 Bug Fixes

  • make type-driven completions publically available with typescript@next cf8e348fc48d52d5f5db7f4df9db29c9ad7b12ef
  • add kinds to refactorings 19c0a039c17d03874420f7bf3f464bac070e0eab
  • patch-outline: fix outline crash in ts5.0. Make patching more stable 49e6f9cb266d4111ad9bac1b281c0f83e53f5243
typescript-vscode-plugins - v0.0.48

Published by zardoy over 1 year ago

✨ New Features

  • merge object and array settings from different scopes e.g. global and workspace setting values 774572b91fb16a5d4de4cd6d13189a3895beabea
  • 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) a3a023b085214b1e3cc342f7e66169fdbef30a59
  • update-setting: exclude node_modules symbols from workspace symbol search from by default 02eaa553339df5e6238e56e0857c567d45bc53f8
  • object literal completions for boolean types (a: true/false,) 40b3c351ad06723fbb9e4d03af2751c5f7b9430d
  • handy!: display import info in completion details for imported symbols. Disabled for now by default as requires symbol patch (setting: suggestions.displayImportedInfo). fa6e025925483aa19705fdd0d78ba5b53169fa3c
  • trigger suggest on jsx attribute string snippet completion 1c6d4e4fe3a8a54dae3c5e873dfaca59595c16af
  • Outline update! Now showing properties of type aliases and optionally first-based indexes of array literals and tuples! 502d22afcf8cae9bdfdc410809249f328f010a61
  • preview: Improve builtin extract to type / interface code actions to infer extracted type name from linked indentifier name. Disabled by default for now. 17464654c89a8a21d3b47982700b4815fba520d1
  • Omit<..., ""> suggestions 0a74910883e41520137b0e8c371b66d9831916c0
  • 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. 591176535cc810cc47fe41a5e6fd9b7da52554a1

🐛 Bug Fixes

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

Published by zardoy over 1 year ago

🐛 Bug Fixes

  • improve a bit Volar takeover mode support bee60efdb25429d3ddc07900508c4411f4600c3a
  • remove experimental postfixes from extension
    use ipatalas.vscode-postfix-ts extension instead, which is the best at postfixes 1914d7fb6ba375e4fd6916fb72f10c23512071db
  • allow to have space before ignore format directive and any content after 27648352b7dd7ba6afdb88b6242a1b6f9ccf03ee
typescript-vscode-plugins - v0.0.46

Published by zardoy over 1 year ago

✨ New Features

  • add ability to Disable formatting a region of code using ts directives 🚀
    ref https://github.com/microsoft/TypeScript/issues/18261 c2dab5301ea6dcde7052e02379c3ac354f4b271c
  • add out of the box keybinding to unleash TypeScript's mechanism of renaming variable name in string & comments in renaming files (ctrl+shift+enter) 🚀 11d1e231c287adbd06f94a7bcc37141cd26d67c9

🐛 Bug Fixes

  • remove useless vueSpecificImprovements setting
    (#88)
typescript-vscode-plugins - v0.0.45

Published by zardoy over 1 year ago

✨ New Features

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

🐛 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 beba9529ebdd0699d1924308fb9f09f1030513e0
  • also allow to pass document and position (offset alternative) in API commands options as second arg beba9529ebdd0699d1924308fb9f09f1030513e0
  • improve removal of modules and css index definitions 67da6340c4b71101bc6a9c5b2d8afba241015219
typescript-vscode-plugins - v0.0.44

Published by zardoy almost 2 years ago

✨ 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. 873c2d1c83fe143f09c2f32b74ac1e4f84d989de

🐛 Bug Fixes

  • specify all possible values for removeCodeFixes.codefixes! 873c2d1c83fe143f09c2f32b74ac1e4f84d989de
typescript-vscode-plugins - v0.0.43

Published by zardoy almost 2 years ago

✨ New Features

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

🐛 Bug Fixes

  • jsx-emmet: speedup emmet suggestions after first keystroke 98286892b70a22f29a744d78b994c9d121023efe
  • update volar config path after update to newer version fdbfb93a7bebc23b3254d2fc5319cb088c96a52a
  • Speed up completions details resolving by vscode API (evaluate isGoodPositionForMethodCompletions once) 9db76d4622bee0c708d2bf0637bc10576593f3bd
typescript-vscode-plugins - v0.0.42

Published by zardoy almost 2 years ago

✨ 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! 71e9f2cb0815cf6fc0c47bc45625c3ece7853a1e
  • 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 71e9f2cb0815cf6fc0c47bc45625c3ece7853a1e

🐛 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 cea2bb906f185e8bc4214d754eabe8b06d3c6946
  • ban method snippets for export {...} ccbdca7189a632d916cf7a7d40790ee70741da23
  • a lot of fixes were rules of replaceSuggestions were applied incorrectly. Skip processing completions that were already processed by previous rules. 71e9f2cb0815cf6fc0c47bc45625c3ece7853a1e
typescript-vscode-plugins - v0.0.41

Published by zardoy almost 2 years ago

🐛 Bug Fixes

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