4852 Commits

Author SHA1 Message Date
Andrew Branch
7956c00166
Deprecate --moduleResolution node10 (#62338) 2025-08-27 13:51:20 -07:00
Mateusz Burzyński
d5a414cd1d
Don't use noErrorTruncation when printing types with maximumLength set (#62091) 2025-07-22 08:56:52 -07:00
Copilot
833a8d492c
Fix Symbol completion priority and cursor positioning (#61945)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
2025-07-02 14:46:24 -07:00
Mateusz Burzyński
58665cf3ae
Don't return tags when returning quick info for JSDoc nodes (#59816) 2025-06-30 13:20:08 -07:00
Mateusz Burzyński
5519be3ae1
Fixed crash when getting a definition for a class member with a computed name and an override modifier (#60631) 2025-06-30 12:48:39 -07:00
Mateusz Burzyński
c33f83ac9b
Fixed a printer crash caused by empty parameter modifiers (#60537) 2025-06-30 11:14:10 -07:00
Mateusz Burzyński
b46556e7b7
Fixed JSDoc display on JsxNamespacedName attributes (#61825) 2025-06-30 11:07:48 -07:00
Mateusz Burzyński
8665f920c9
Fixed crash on ComputedPropertyName when computing interactive inlay hints (#61857) 2025-06-30 10:28:27 -07:00
Mateusz Burzyński
d297037a83
Fixed crash on ConstructSignature when computing interactive inlay hints (#61973) 2025-06-30 10:21:50 -07:00
Gabriela Araujo Britto
02672d281c
Use jsx language variant for jsx file scanning in getChildren (#61928) 2025-06-25 15:37:21 -07:00
Jake Bailey
dca71700ba
Fix bad JSON syntax in tests, use JSON.parse first for perf (#61901) 2025-06-24 14:51:46 -07:00
Mateusz Burzyński
78c16795cd
Don't ignore completions at source file locations (#61909) 2025-06-23 13:20:43 -07:00
Andrew Branch
cb38d99d08
Add --module node20 (#61805) 2025-06-09 14:20:00 -07:00
Gabriela Araujo Britto
0ee67b517f
Add configurable maximum hover length (#61662) 2025-05-09 13:31:39 -07:00
Oleksandr T.
11e7932759
fix(61258): Renaming namespace with const enum doesn't update enum references (#61263) 2025-04-24 14:35:05 -07:00
Gabriela Araujo Britto
069de743db
Expandable hover (#61492) 2025-04-15 12:14:38 -07:00
Vitaly
ba663f6ac2
Exclude completions of binding pattern variable initializers (#52723)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2025-04-02 13:47:43 -07:00
Mateusz Burzyński
89c572ca0c
Fixed a symbol display crash on expando members write locations (#55478) 2025-04-01 13:40:59 -07:00
Oleksandr T.
2c3be449ff
fix(60887): Incorrect Formatting on if (a) try {} finally {} (#60898) 2025-02-24 11:51:28 -08:00
Oleksandr T.
1cd8e20f94
fix(61167): Incorrect "Import may be converted to a default import" autofix for import export (#61171) 2025-02-21 15:23:22 -08:00
Mateusz Burzyński
edc497bb2b
Find method references through base abstract classes implementing an interface (#61234) 2025-02-21 11:08:34 -08:00
Mateusz Burzyński
b95187d1ce
Provide string completions for in keyword checks (#60272) 2025-02-20 14:01:52 -08:00
Ben Lickly
3f416e0f52
Fix quick fix for isolatedDeclarations to keep trailing unknown in generics (#61227) 2025-02-19 17:28:50 -08:00
Gabriela Araujo Britto
34ea32f8ce
Revert "Proposed expandable hover API" (#61132) 2025-02-07 12:44:02 -08:00
Gabriela Araujo Britto
c3ae7c418f
Revert return type narrowing (#61136) 2025-02-07 10:55:34 -08:00
Andrew Branch
739d729ecc
[moveToFile] Fix symbols with empty declarations being treated as importable (#61084) 2025-01-30 13:49:26 -08:00
Isabel Duan
c5058f0066
allow calling goToDef on modifiers of named declarations (#60384) 2025-01-23 17:30:35 -08:00
Andrew Branch
329387d76f
Fix missing failed lookup locations when resolving bare-specifier package.json "imports" (#60924) 2025-01-23 15:28:53 -08:00
Andrew Branch
5e52b28ee6
Support require(esm) in --module nodenext (#60761) 2025-01-22 16:56:17 -08:00
Mateusz Burzyński
8da951cbb6
Fixed "Delete all unused declarations" to delete self-referential functions (#60888) 2025-01-17 22:11:41 -08:00
Oleksandr T.
589f734e5e
fix(60375): Parameter inlay hint is incorrect when function has a this type (#60378) 2025-01-17 13:30:35 -08:00
Oleksandr T.
f99803d05f
fix(60551): satisfies is shown on go-to-implementation (#60801) 2025-01-17 12:05:26 -08:00
Mateusz Burzyński
9ef98be517
Add extra test cases for fixed reportNonexistentProperty crashes (#60690) 2024-12-05 09:21:08 -08:00
Ryan Cavanaugh
4105134626
Include type-meaning 'extends' clause in auto-import fix list (#59853) 2024-12-04 13:22:25 -08:00
Mateusz Burzyński
676d329948
Avoid incorrectly reusing assertion nodes from property assignments (#60576) 2024-12-04 12:04:14 -08:00
Gabriela Araujo Britto
6b1ea96b94
Fix flow node improper reuse (#60662) 2024-12-04 09:13:13 -08:00
Oleksandr T.
d6b7c41fbc
fix(60505): Convert to namespace import refactoring should drop file extensions on namespace name (#60510) 2024-11-19 19:42:16 -08:00
Andrew Branch
b3c67d3202
Move to file: fix detection of references to globals that shouldn't be moved (#60450)
Co-authored-by: Isabel Duan <isabelduan@microsoft.com>
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2024-11-15 14:21:38 -08:00
Ben Kraft
c043944b14
Let isolated declarations fixer add toplevel imports more (#60267) 2024-11-13 09:04:51 -08:00
Nathan Shively-Sanders
79ea5a5b35
Stub out copilotRelated command (#60488) 2024-11-13 08:33:00 -08:00
Oleksandr T.
ef802b1e4d
feat(60312): Add missing properties for satisfies (#60314) 2024-11-08 09:48:13 -08:00
Gabriela Araujo Britto
30979c2651
Narrow generic conditional and indexed access return types when checking return statements (#56941) 2024-11-05 18:18:24 -08:00
Gabriela Araujo Britto
80eeb4ec8d
Proposed expandable hover API (#59940) 2024-11-05 16:41:13 -08:00
Isabel Duan
3e6171833e
fix autoimports crash: generate namespace and other module symbol imports (#60333) 2024-10-31 17:03:12 -07:00
Mateusz Burzyński
e4dc78ab8c
Fixed crash on class member completions with auto imports from merged ambient modules (#60340) 2024-10-31 13:47:38 -07:00
Mateusz Burzyński
48f2ada110
Add string literal completions for package.json imports field (#57718) 2024-10-31 13:33:40 -07:00
Isabel Duan
21618934bf
fix paste edits range: include all completely selected identifiers (#60339) 2024-10-29 14:05:32 -07:00
Mateusz Burzyński
cb44488fce
Fixed a JSDoc-related crash when obtaining type of a type literal type argument (#60358) 2024-10-28 11:50:14 -07:00
Andrew Branch
2ac4cb78d6
Fix prioritization of paths specifiers over node_modules package specifiers (#60238) 2024-10-23 13:22:23 -07:00
Mateusz Burzyński
6a90111d05
Fixed "add missing properties" codefix for positions with nullable contextual types (#60328) 2024-10-23 11:31:37 -07:00