4463 Commits

Author SHA1 Message Date
Vitaly
0e357f510b
Exclude literal completions after closing quote and JSX attribute location (#52676) 2023-02-28 13:31:30 -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
Jake Bailey
3471bd7d86
Fix type import node circularity errors in eager diagnostic mode, deprecations (#52861) 2023-02-21 15:42:15 -08:00
Mateusz Burzyński
38b951e166
Fixed crash in switch completions related to parenthesized expressions (#52881) 2023-02-21 10:41:16 -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
Oleksandr T
088fdf6efe
fix(51202): Circular instantiation expression crashing IDEs (#51214) 2023-02-17 11:31:45 -08:00
Jake Bailey
a3a4993937
Don't parse out a name for JSX fragments (#52818) 2023-02-17 10:55:56 -08:00
Ron Buckton
fd0370822f
Fix crash in 'Wrap in JSX Fragment' quick fix (#52816) 2023-02-16 21:34:58 -05:00
Mateusz Burzyński
879dbcd2df
Do not report errors when inference is partially blocked (#52728) 2023-02-16 15:17:07 -08:00
Mateusz Burzyński
2976b6b703
Filtering mapped types declarations (#51650) 2023-02-16 13:38:10 -08:00
Ron Buckton
55eff14353
Fix crash in extract type and generate get/set refactors (#52803) 2023-02-16 16:15:54 -05: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
Tobias S
df6b9e5754
fix property completion in unions of object types and template literal types (#52196) 2023-02-14 10:50:53 -08:00
Andrew Branch
48e812aa07
Prefer top-level type-only imports in verbatimModuleSyntax (#52747) 2023-02-14 10:23:08 -08:00
Mateusz Burzyński
ab40f5e5d0
Avoid caching resolved signatures for language service requests like signature help (#52679) 2023-02-14 09:47:32 -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
Oleksandr T
1c822c42a4
feat(52097): "Add missing properties" quick fix for calculated string values ... (#52135) 2023-02-08 17:25:39 -08:00
Mateusz Burzyński
6b43f82774
Filter out existing cases from string completions (#52633) 2023-02-06 13:16:29 -08:00
Oleksandr T
70d14f3de2
fix(52594): this incorrectly applies in TS files in typeToString (#52610) 2023-02-06 08:59:32 -08:00
pyBlob
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
Vitaly
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
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
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
Andrew Branch
4ec9b2f8d7
Fix crash when looking for __esModule during symbol table merging (#52554) 2023-02-02 09: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
1da47255fa
Fix auto-imports of aliased packages with exports (#52538) 2023-02-01 09:49:38 -08:00
Jake Bailey
95840557bf
Prevent valid JSX from being seen as the start of a generic arrow function, fix crashes (#52450) 2023-01-31 16:55:48 -08:00
Mateusz Burzyński
3d07795092
Fixed type lookup on non-exported value symbol when it has an export symbol (#52140) 2023-01-31 16:42:29 -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
Andrew Branch
5e8bf480e4
Fix auto-imports with --moduleResolution bundler and customConditions (#52423) 2023-01-26 09:44:07 -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
Jake Bailey
10941888dc
Plumb formatting to getDocCommentTemplateAtPosition (#52349)
Fixes https://github.com/microsoft/TypeScript/issues/52348
2023-01-23 15:31:58 -08:00
Ryan Cavanaugh
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
Oleksandr T
1d81c1dfef
fix(51521): Using a of property declared after an initializing constructor triggers an assertion failure in JS (#51524)
Fixes https://github.com/microsoft/TypeScript/issues/51521
2023-01-20 14:43:23 -08:00
Andrew Branch
19d2d9ec01
Don’t let unsorted import groups eagerly derail sort detection (#52332) 2023-01-20 11:10:41 -08:00
Andrew Branch
cfe1842adf
Add verbatimModuleSyntax, deprecate importsNotUsedAsValues and preserveValueImports (#52203) 2023-01-19 16:56:30 -08:00
Oleksandr T
6f338b9936
fix(52274): Suggestion code action adds another JSDoc (#52276) 2023-01-19 16:41:26 -08:00
Ron Buckton
5b18979697
Implement the Stage 3 Decorators Proposal (#50820) 2023-01-19 17:54:12 -05:00
Ron Buckton
20182cf848
Organize imports collation (#52115) 2023-01-19 17:53:51 -05:00
Nathan Shively-Sanders
abd6cb446f
Improve quickinfo/signature/completions baselines (#52308) 2023-01-19 14:39:14 -08:00
Oleksandr T
8094007a1d
fix(52277): switch/case completions fail when has a negative literal type (#52278) 2023-01-17 14:10:29 -08:00
Oleksandr T
9c9d4b029d
feat(51086): satisfies support in JSDoc (#51753) 2023-01-17 10:22:22 -08:00
Oleksandr T
577cc1bd8a
fix(52233): Ambient modules declared with patterns are offered in path completions (#52246) 2023-01-17 09:41:16 -08:00
Gabriela Araujo Britto
67a3846fbf
Fix replacementSpan for class member snippet completion entries (#52231) 2023-01-16 10:32:24 -08:00
Oleksandr T
86ccd20e53
fix(52212): No member completions, and irrelevant value completions, when class property initializer has no semicolon (#52213) 2023-01-13 14:23:36 -08:00