Commit Graph
6508 Commits
Author SHA1 Message Date
Oleksandr T 0e3e14d39e fix(52992): no add missing properties quick for nested object literal (#53004) 2023-03-09 10:00:55 -08:00
Mateusz Burzyński 88adf8014b Make special intersections order-independent (#52782) 2023-03-07 15:39:14 -08:00
Nathan Shively-Sanders ff1e08f859 Rename scanner token methods (#53078) 2023-03-07 13:54:44 -08:00
Oleksandr T 02cf0b68b7 fix(52879): No autocompletions after the typeof keyword inside JSDoc comments. (#52973) 2023-03-07 10:52:23 -08:00
Vitaly b1f25a2bdb Move to New File: Respect Quote Style in import updates (#52974) 2023-03-07 09:23:02 -08:00
Oleksandr T 5240f060b8 feat(52569): fixUnusedIdentifier: Unwanted side-effects when removing an unused destructuring declaration containing a function call (#52951) 2023-03-06 15:41:13 -08:00
Oleksandr T 3a6752ca14 feat(52883): Organize Imports doesn't treat exports the same way and merges groups (#52982) 2023-03-03 17:03:21 -08:00
Oleksandr T a9ae9eeb23 fix(53074): Functions with async keyword don't autocomplete (#53079) 2023-03-03 10:31:01 -08:00
Sheetal Nandi b19cfc03f2 Make getSupportedCodeFixes plugin test such that we dont need to update its baseline for every new error (#53070) 2023-03-02 14:58:13 -08:00
Oleksandr T 211a60dc79 fix(52444): "... is a type and must be imported using a type-only import ..." should have a quick fix (#52565) 2023-03-01 12:20:56 -08:00
Sheetal Nandi dcc766f2b2 Remove long deprecated occurrences request (#52347) 2023-03-01 10:59:07 -08:00
brendaHuangandBrenda Huang 1b692dec96 convert JSDoc typedef to type, issue 50644 (#51430)
Co-authored-by: Brenda Huang <brehuang@linkedin.com>
2023-03-01 09:43:08 -08:00
Jake Bailey 6b75ce23ce Completely remove Push type (#52133) 2023-03-01 09:34:59 -08:00
Jake Bailey ca1cf3dd85 Deprecate UnderscoreEscapedMap and remove internal uses (#53032) 2023-02-28 16:55:29 -08:00
Vitaly 0e357f510b Exclude literal completions after closing quote and JSX attribute location (#52676) 2023-02-28 13:31:30 -08:00
Jake Bailey 6fe711f85a Remove unused eslint-disable directives (#52987) 2023-02-27 11:01:37 -08:00
Mateusz Burzyński 1a76569a78 Retry querying string completions from the inferred type if the original completions request doesn't return anything (#52875) 2023-02-23 12:13:30 -08:00
Mateusz Burzyński 38b951e166 Fixed crash in switch completions related to parenthesized expressions (#52881) 2023-02-21 10:41:16 -08:00
Jake Bailey e88fe15d68 Remove ts namespace import from checker (#52890) 2023-02-21 10:14:26 -08:00
Oleksandr T e1ae30e1ab fix(52852): "Move to a new file" refactoring does not maintain "import type" semantics (#52854) 2023-02-21 10:02:00 -08:00
Oleksandr T bbb98cf797 fix(52664): Assertion failure on completions for derived class with computed base property name (#52673) 2023-02-17 17:36:52 -08:00
Ron Buckton fd0370822f Fix crash in 'Wrap in JSX Fragment' quick fix (#52816) 2023-02-16 21:34:58 -05:00
Ron Buckton 55eff14353 Fix crash in extract type and generate get/set refactors (#52803) 2023-02-16 16:15:54 -05:00
VitalyandAndrew Branch 2f43308dc4 Add API option to getCompletionsAtPosition to expose completion symbol information (#52560)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2023-02-16 11:09:29 -08:00
Vitaly 151364902b Don't add redundant await in completions (#52677) 2023-02-16 08:44:14 -08:00
Oleksandr T 733d7aed97 fix(52749): Assertion failure in derived class completion (#52787) 2023-02-15 14:33:39 -08:00
Oleksandr T de2ab4ab8f fix(52761): overload tag is not supported in completions (#52762) 2023-02-14 14:25:00 -08:00
Andrew Branch 48e812aa07 Prefer top-level type-only imports in verbatimModuleSyntax (#52747) 2023-02-14 10:23:08 -08:00
Andrew Branch 99927cad95 Replace all instances of compilerOptions.isolatedModules with function considering verbatimModuleSyntax (#52746) 2023-02-13 16:03:02 -08:00
Andrew Branch aa658257c9 Fix completion details auto-imports crashes (#52686) 2023-02-10 15:26:09 -08:00
Gabriela Araujo Britto 7612a3afc7 Fix crash on addImportFromExportedSymbol with default exported symbol (#52694) 2023-02-09 16:31:58 -08:00
Daniel Rosenwasser 7fb6c99c19 Don't create an unnecessary text span in isInStringOrRegularExpressionOrTemplateLiteral (#52697) 2023-02-09 15:37:22 -08:00
Oleksandr T 1c822c42a4 feat(52097): "Add missing properties" quick fix for calculated string values ... (#52135) 2023-02-08 17:25:39 -08:00
Andrew Branch a0afacd262 Avoid caching duplicate export info from AutoImportProvider (#52683) 2023-02-08 12:36:12 -08:00
Mateusz Burzyński 6b43f82774 Filter out existing cases from string completions (#52633) 2023-02-06 13:16:29 -08:00
Andrew Branch 7d8f6eec46 Add cache to auto-import package.json filter (#52422) 2023-02-06 11:33:04 -08:00
00eb22030f Fix completion of partial identifier inside a JsxExpression (#52572)
Co-authored-by: Karl Kraus <karl.kraus@avantagarde-talents.de>
Co-authored-by: Gabriela Araujo Britto <gabrielaa@microsoft.com>
2023-02-03 16:54:56 -08:00
VitalyandAndrew Branch c06711da1b Handle literal string union complete pattern for JSX attribute snippets (<input type />) (#52562)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2023-02-03 15:40:00 -08:00
Jake Bailey 2a8436c529 Use eslint-plugin-simple-import-sort (#52090) 2023-02-02 14:36:21 -08:00
Oleksandr T 0f41b7a390 fix(52418): "Convert to named function" breaks on concise return of async function (#52434) 2023-02-02 13:03:52 -08:00
Vitaly 87b6fcd895 don't use Extension[] cast (#52556) 2023-02-02 12:59:37 -08:00
Oleksandr T e7dfe82cc5 fix(52543): Module specifier should be escaped for snippet in import statement completion (#52574) 2023-02-02 11:27:10 -08:00
Vitaly d0938c85ec imports: display completions to files with extensions from ambient modules (#52406) 2023-02-01 16:43:07 -08:00
Andrew Branch 60edd0685f Reject auto-imports of relative paths through node_modules in bundler resolution (#52536) 2023-01-31 13:02:59 -08:00
Jake Bailey 0141d1d5f2 Reuse Printers with common options (#52382) 2023-01-25 11:59:02 -08:00
Oleksandr T 43ecac801b fix(52386): JSDoc code fixes for arrow-function initialized const duplicates comment (#52390) 2023-01-24 23:42:57 -08:00
Oleksandr T 9ee093c094 feat(52366): @prop is not provided as a valid JSDoc tag in autocompletion (#52384) 2023-01-24 02:00:23 -08:00
Jesper van den Ende 273a67fba3 Add linkcode and linkplain to jsdoc tags (#52176) 2023-01-24 01:59:05 -08:00
Jake Bailey 10941888dc Plumb formatting to getDocCommentTemplateAtPosition (#52349)
Fixes https://github.com/microsoft/TypeScript/issues/52348
2023-01-23 15:31:58 -08:00
ff92ab0ac9 Change default newLine, forceConsistentCasingInFileNames (#52298)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
2023-01-20 17:20:26 -08:00