3420 Commits

Author SHA1 Message Date
Daniel Rosenwasser
7be4b2c697
Harden sanitizeLog against incorrect matches on TypeScript versions. (#60794)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2024-12-17 12:56:20 -08:00
Nathan Shively-Sanders
79ea5a5b35
Stub out copilotRelated command (#60488) 2024-11-13 08:33:00 -08:00
Gabriela Araujo Britto
80eeb4ec8d
Proposed expandable hover API (#59940) 2024-11-05 16:41:13 -08: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
a719df49d4
add filenames to error messages in verify file content functions in fourslash (#60143) 2024-10-07 12:25:31 -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
Sheetal Nandi
02b07a1788
Dont open composite projects to determine if script info is part of project (#59688) 2024-09-18 10:35:22 -07:00
Isabel Duan
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
Sheetal Nandi
87d0e771a8
Fix issues with global typings cache and what gets watches (#59869) 2024-09-05 13:06:30 -07:00
Sheetal Nandi
7976d9cef5
Refactor tsserver, tsc and fourslash-server tests so that paths are always watchable (#59844) 2024-09-04 14:22:10 -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
Gabriela Araujo Britto
1e7889c697
Enable existing commit characters in certain locations where isNewIdentifier is true (#59523) 2024-08-19 13:24:03 -07:00
Ron Buckton
f025a5b879
built-in iterators should be disposable (#59633) 2024-08-16 11:57:04 -04:00
Wesley Wigham
1250b480a5
Suggest simplifications for overzealous shifts (#59519) 2024-08-14 13:07:50 -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
Jake Bailey
01a874a8ba
Update to eslint v9, typescript-eslint v8 (#59518) 2024-08-12 17:13:24 -07:00
Armando Aguirre
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
3f6f3164d6
Remove stableSort, rename sort to toSorted (#55728) 2024-07-23 18:17:07 -07:00
Gabriela Araujo Britto
8a36e26ac6
Add commit characters to protocol (#59339) 2024-07-23 12:32:38 -07:00
Ron Buckton
6f530cc4ce
Add TReturn/TNext to Iterable et al (#58243) 2024-07-19 13:14:00 -04:00
navya9singh
ded36b21ac
pasteEdits returns no edit when there are no imports needed (#59189) 2024-07-09 10:27:41 -07:00
Gabriela Araujo Britto
c3efeb9d1b
Move diagnostic duration to performance data (#59122) 2024-07-03 15:04:51 -07:00
Sheetal Nandi
cb98634f49
Remove errors if noEmit is sepcified with noCheck or emitDeclarationOnly (#59071) 2024-06-28 15:25:14 -07:00
Lars Kappert
752135eb40
Remove unused exports & dead code (using Knip) (#56817)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-06-27 14:24:01 -07:00
Sheetal Nandi
f7833b2a72
On linux or editor with canUseEvents to prefer immediate directory if its not in root or node_modules (#58866) 2024-06-27 11:32:33 -07:00
Sheetal Nandi
a6bc4ecbe5
Remove refCount from resolutions as we dont need it explicitly since its tracked by files it references (#59041) 2024-06-26 12:46:53 -07:00
Jake Bailey
ef339af128
Use regular imports instead of require where possible (#59017) 2024-06-25 13:56:05 -07:00
Sheetal Nandi
d403e0850f
Fix the consistency and correctness of performanceData reported per request (#58968) 2024-06-24 19:02:19 -07:00
Jake Bailey
c38569655b
Set JSDocParsingMode.ParseForTypeErrors in compiler tests (#58917) 2024-06-18 17:28:44 -07:00
Daniel Rosenwasser
4935e14901
Use more explicit operations in core helpers (and other nits) (#58873) 2024-06-18 16:00:00 -07:00
Gabriela Araujo Britto
4857546865
Region-based semantic diagnostics (#57842) 2024-06-13 16:21:01 -07:00
Wesley Wigham
bbfc1aa281
Enable JS emit for noCheck and noCheck for transpileModule (#58364) 2024-05-30 13:38:37 -07:00
Kat Marchán
ddf43cd0e0
CodeMapper support (#55406) 2024-05-22 16:47:08 -07:00
Sheetal Nandi
e02af8e36d
Fix issue where sometimes modified timestamp file was not shown in baseline (#58623) 2024-05-22 14:38:44 -07:00
Sheetal Nandi
fadc83b939
Handle config file change and default project management (#58486) 2024-05-10 14:50:43 -07:00
navya9singh
be8fb98cf1
Implementing copy/paste (#57262) 2024-05-08 16:07:51 -07:00
Jake Bailey
16beff101a
Use explicit extensions for imports within src (#58421) 2024-05-06 17:07:54 -07:00
Wesley Wigham
f76727d17a
Add noCheck API option (#57934) 2024-04-26 13:21:15 -07:00
Wesley Wigham
0b71b81d7d
Add transpileDeclaration API method (#58261) 2024-04-23 17:09:47 -07:00
Sheetal Nandi
5b3060d5c6
[Experiment] Some tweaking to handle project references for auto import (#55955)
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-04-18 11:41:48 -07:00
Jake Bailey
17e420daf6
Use built-in no-restricted-syntax to ban null instead of plugin, ban null type too (#58095) 2024-04-18 09:06:32 -07:00
Jake Bailey
72f413cea0
Remove deprecated originalKeywordKind and isInJSDocNamespace (#58228) 2024-04-17 15:28:07 -07:00
Titian Cernicova-Dragomir
23e99c2b76
Fix miss-reported node reuse in types. (#58221) 2024-04-17 14:41:21 -07:00
Sheetal Nandi
904a59f343
Print correct information about noOpenRef in the baseline (#58230) 2024-04-17 13:28:33 -07:00
Ryan Cavanaugh
3d523923f5
Logarithmish baseline counts (#58212) 2024-04-16 12:18:39 -07:00
Sheetal Nandi
b006768548
When watching failed lookups, watch packageDir if its a symlink otherwise the path we use to watch (#58139) 2024-04-12 11:03:51 -07:00
Sheetal Nandi
4e294963c8
Keep scriptInfo and project alive even after file delete till next file open (#57492) 2024-04-12 10:43:09 -07:00
Wesley Wigham
a2d37a5c60
Underlines in baselines should not consider nodes with .original set synthetic (#58086) 2024-04-05 09:22:42 -07:00