Commit Graph
6848 Commits
Author SHA1 Message Date
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
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 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 6a90111d05 Fixed "add missing properties" codefix for positions with nullable contextual types (#60328) 2024-10-23 11:31:37 -07:00
Mateusz Burzyński 437d7f7d9c Fixed crash in auto import suggestions for default of exported UMD objects (#60313) 2024-10-23 09:22:09 -07:00
Oleksandr T. a62ac67b50 fix(59779): The semicolons: "remove" formatting option doesn't remove extraneous semicolons (#59797) 2024-10-22 15:42:28 -07:00
Oleksandr T. df9d16503f fix(59463): Feature that displays method argument names inline does not correctly handle method overloading (#59504) 2024-10-18 14:44:43 -07:00
Andrew Branch b8e4ed8aeb Fix --showConfig to show transitively implied options that vary from the default config (#60240) 2024-10-16 11:14:44 -07:00
Mateusz Burzyński d61938d8a3 Fixed default-like export info lookup with export= that have default export (#60035) 2024-10-15 09:00:54 -07:00
Oleksandr T. e99e6e2e87 fix(60186): Quick fix "add missing properties" fails with enums from other module (#60191) 2024-10-14 11:30:34 -07:00
Isabel Duan aeb74cc721 moveToNewFile: fix quotes for module specifiers (#60203) 2024-10-14 10:24:49 -07:00
Oleksandr T. 009b3ffdda fix(59825): getNavigationTree crash on invalid class merge and function merge with expando members (#60152) 2024-10-07 12:58:15 -07:00
Joost Koehoorn 44331b9fa3 Fix grammar issue in TS9025 diagnostic message (#60136) 2024-10-07 11:12:47 -07:00
Titian Cernicova-Dragomir 476e9ee201 Extract node type printer (#59282) 2024-09-30 09:19:42 -07:00
Andrew Branch bd3d70058c Rewrite relative import extensions with flag (#59767) 2024-09-27 12:27:16 -07:00
Nathan Shively-Sanders 52c59dbcbe Add CopilotRelated command (#59963) 2024-09-26 16:10:41 -07:00
navya9singh 8499803ae0 Adding preparePasteEdits method to check if smart copy/paste should be applied (#60053) 2024-09-26 11:50:23 -07:00
Mateusz BurzyńskiandGabriela Araujo Britto 413f0fa831 Fixed crash when looking for contextual inherited JSDocs for setters and getters (#60027)
Co-authored-by: Gabriela Araujo Britto <garaujobritto@gmail.com>
2024-09-25 11:04:01 -07:00
Daniel Rosenwasser 278f260d0d Specialize the message on JSX tags looking for the JSX factory namespace (#58870) 2024-09-24 11:52:44 -07:00
8230bc66a7 Drop unnecessary type arguments in the isolated declarations quick fix (#59665)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2024-09-16 10:35:50 -07:00
52eaa7b02f Enable --isolatedDeclarations on TS codebase (#59635)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-09-15 18:10:52 -07:00
Isabel Duan 89e004f632 add support for autoimports/moveToFile to generate aliased named imports (#59885) 2024-09-10 15:38:37 -07:00
Mateusz Burzyński 53039d3f05 Include all type parameters in completions within type parameters' constraints (#56543) 2024-09-09 10:35:58 -07:00
Sheetal Nandi 87d0e771a8 Fix issues with global typings cache and what gets watches (#59869) 2024-09-05 13:06:30 -07:00
Armando AguirreandArmando Aguirre Sepulveda 6260f7ab78 Added typeToTypeNode with truncation (#59332)
Co-authored-by: Armando Aguirre Sepulveda <araguir@microsoft.com>
2024-08-30 14:16:18 -07:00
Jack Works 47ae752c23 refactor: improve string export name completions (#58818) 2024-08-26 12:23:05 -07:00
Andrew Branch a86b5e2b01 Fix error message for type-only import of ES module from CJS (#59711) 2024-08-23 12:05:40 -07:00
Oleksandr T. 3abe069fd2 fix(59649): ts Move to a new file doesn't respect importModuleSpecifier setting (#59670) 2024-08-22 16:46:28 -07:00
Andrew Branch a5eec2485f Simplify handling of node:-prefixed modules in auto-imports (#59702) 2024-08-21 16:43:21 -07:00
navya9singh 2192336dfe Fixing delay caused in vscode due to pasteEdits (#59542) 2024-08-19 17:45:57 -07:00
Gabriela Araujo Britto 1e7889c697 Enable existing commit characters in certain locations where isNewIdentifier is true (#59523) 2024-08-19 13:24:03 -07:00
Oleksandr T. f850298f70 fix(59558): Implement Interface Quick Fix generates duplicate declarations (#59563) 2024-08-16 15:17:58 -07:00
Isabel Duan 26c4320757 also return classes when caling goToDef on a constructor call (#59421) 2024-08-16 13:58:29 -07:00
Titian Cernicova-Dragomir 52395892e0 Set declarationMap to false in transpileModule. (#59642) 2024-08-15 16:57:37 -07:00
Andrew Branch bcb1545aa3 Allow existing imports in file to supersede package.json filter (#59604) 2024-08-15 15:00:31 -07:00
Zzzen a0530722fc Improve inlining of string variables in template literals (#54849) 2024-08-15 10:46:22 -07:00
Jake Bailey 25e09d9fc3 Add custom eslint rule 'no-array-mutating-method-expressions' (#59526) 2024-08-14 09:28:57 -07:00
Jake Bailey 195203e971 Add regex eslint plugin, fix lints (#59371) 2024-08-13 14:16:53 -07:00
Oleksandr T. 7049af5f4f fix(58166): Class parameter property with initializer before required property emits non-nullable parameter for declaration emit (#58177) 2024-08-12 15:42:09 -07:00
Sung Ye In f3b118ed21 fix: filtering promise properties in object literal completion (#59316) 2024-08-09 13:14:30 -07:00
Andrew Branch 09caaf60aa Add autoImportSpecifierExcludeRegexes preference (#59543) 2024-08-09 11:12:18 -07:00
Armando AguirreandArmando Aguirre Sepulveda 5f79e16d33 Refactored node builder flags and tests (#59440)
Co-authored-by: Armando Aguirre Sepulveda <araguir@microsoft.com>
2024-08-08 13:19:24 -07:00
Jake Bailey 5e9e6ad295 Fix accidental relative imports from non namespace barrels (#59544) 2024-08-08 09:38:10 -07:00