Commit Graph

3365 Commits

Author SHA1 Message Date
Ryan Cavanaugh
601117644e Automatic perf stats in baselines (#57730) 2024-03-15 13:31:07 -07:00
Sheetal Nandi
353ccb7688 Ensure correct script kind and text when using cached sourceFile from scriptInfo (#57641) 2024-03-04 15:56:35 -08:00
Jake Bailey
26df0cb23e Remove 5.5 deprecated compiler options (#57527)
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-02-28 14:35:39 -08:00
Andrew Branch
cfbb15f0c1 Ensure comments before // @Filename are not part of the following virtual test file (#57579) 2024-02-28 13:40:10 -08:00
Sheetal Nandi
f23927a806 Remove code related to prepend and fix baselines (#57472) 2024-02-28 09:52:38 -08:00
Jake Bailey
4df884c773 Ensure harness doesn't force or eagerly computes target, stop using raw target elsewhere (#57526) 2024-02-26 11:32:18 -08:00
Sheetal Nandi
af6c6a954c Fix current document position mappers (#57489) 2024-02-22 13:15:15 -08:00
Sheetal Nandi
2fc6e2e80c Test document position mapper (#57426) 2024-02-22 11:03:40 -08:00
Aiday Marlen Kyzy
60f93aa83a Making Move To File Action appear less often (#57080) 2024-02-20 00:06:10 -08:00
Oleksandr T
91e67ffbea fix(57392): using is not suggested as a keyword (#57394) 2024-02-16 14:12:17 -08:00
Sheetal Nandi
04fa4b5273 More logging of Script info state infromation for baselining for future script info updates improvements (#57398) 2024-02-13 12:38:30 -08:00
Sheetal Nandi
1ca93fe78f Tests for more state and remove some unnecessary logs (#57324) 2024-02-07 13:47:40 -08:00
Sheetal Nandi
c3ff2661aa Print original projects in baseline diff as they impact life time of the projects (#57315) 2024-02-06 16:42:17 -08:00
Sheetal Nandi
ee46953bc9 Baseline Project Service State for easy diffing in changes (#57255)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-02-01 14:01:43 -08:00
Oleksandr T
5364494473 mark the ImportAssertions as deprecated (#57012) 2024-01-17 16:27:12 -08:00
Jake Bailey
4f7da16103 Fix unnecessary non-null assertions caught by newer ts-eslint (#57070)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
2024-01-16 11:21:45 -08:00
Andrew Branch
69f2e2ae65 Issue better error when unresolvable package in --moduleResolution node10 resolves with --moduleResolution bundler (#56949) 2024-01-16 09:36:14 -08:00
Anders Hejlsberg
e6fe96c501 Add NoInfer<T> intrinsic represented as special substitution type (#56794) 2024-01-12 13:59:05 -08:00
Titian Cernicova-Dragomir
ea9aed8d99 Reduce buffer to string conversions. (#56961) 2024-01-11 13:11:53 -08:00
Titian Cernicova-Dragomir
9a0c7b1c3b Reduce file system calls during test setup. (#56791) 2024-01-11 11:08:55 -08:00
Oleksandr T
72d497352f fix(55994): Type-check Import Attributes in static imports (#56034) 2024-01-10 15:35:04 -08:00
Isabel Duan
780097856a Organize type imports (#55269) 2024-01-09 16:29:16 -08:00
Sheetal Nandi
b6121e400c Replace disk path operations to use fileNames instead of path (#56476)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2023-11-27 22:21:29 -08:00
Sheetal Nandi
6e65f973f6 Print watch map with same casing as was added with (#56566) 2023-11-27 14:01:53 -08:00
Sheetal Nandi
0abfb521d5 Handle file name casing when deduplicating results from the project (#56438) 2023-11-20 16:30:56 -08:00
Sheetal Nandi
efecc85dca All tsserver unittests use session and typing installer (#56337) 2023-11-09 11:48:48 -08:00
Jake Bailey
b2fc883c39 Enable GenerateNamesForShadowedTypeParams for types baselines (#55821) 2023-11-06 15:02:51 -08:00
Andrew Branch
aef4e468d9 Add user preference for preferring type-only auto imports (#56090) 2023-10-20 14:52:18 -07:00
Sheetal Nandi
508e52d13a During fourslash server test baseline tsserver log file so that project updates and watches can be baselined and reasoned about (#56132) 2023-10-16 16:08:13 -07:00
Sheetal Nandi
9473195b6c noDts project resolutions verification and updates for incremental behaviour (#56016) 2023-10-10 10:24:08 -07:00
Jake Bailey
9208239759 Remove shims.ts and related infra (#55868) 2023-09-28 13:54:47 -07:00
Oleksandr T
2e9e9a292c feat(53656): Add support for the updated import attributes proposal (#54242) 2023-09-26 13:20:15 -07:00
Jake Bailey
4c965433b6 Partially revert PR 55723 to fix OOM in testing (#55822) 2023-09-22 11:57:01 -07:00
Sheetal Nandi
c5cd2758fd Use forEachResolvedModule in incremental utils (#55833) 2023-09-22 11:29:31 -07:00
Sheetal Nandi
dcb0fa7f44 Incremental testing for program structure and resolutions and fixes (#55814) 2023-09-22 10:53:19 -07:00
Jake Bailey
a3c5d5d37e Make JSDoc skipping public, plus more configurable (#55739) 2023-09-21 15:31:09 -07:00
Jake Bailey
3f0c62bf02 Fix test harness bugs hidden by method behavior (#55723) 2023-09-13 10:15:14 -07:00
Jack Works
e7bb0ebfac refactor: let exportMapKey accepts bad symbol name (#54678) 2023-09-13 09:39:05 -07:00
Sheetal Nandi
dd18dc1dac If outDir is not specified, dont need to include json files explicitly in the config since they will not be emitted (#55389) 2023-09-08 12:23:13 -07:00
Gabriela Araujo Britto
b5d6aa73d1 Add option to exclude library symbols from navTo results (#55605) 2023-09-07 11:19:56 -07:00
Jake Bailey
0f91f7dff6 Run dprint on json (#55602) 2023-09-01 15:26:01 -07:00
Gabriela Araujo Britto
cbadc78f96 Return all symbols in navto for empty string pattern (#55550) 2023-08-30 15:30:38 -07:00
Jake Bailey
b5b6048bb3 Clean up helpers which are always present in ES2020 (#55515) 2023-08-28 12:26:22 -07:00
Sampo Kivistö
ec2bd4e252 perf: replace String and Array indexOf method calls with includes method call (#55482) 2023-08-25 11:27:55 -07:00
Maria José Solano
507fd31d8b Remove lib.d.ts line info in inlay hint baselines (#55426) 2023-08-22 11:14:20 -07:00
Jake Bailey
5e8c261b6a dprint the codebase (#54820) 2023-08-16 14:26:38 -07:00
Jake Bailey
3b43d841d1 Enable eslint rules prefer-rest-params and prefer-spread (#55181) 2023-08-11 15:07:06 -07:00
Jake Bailey
7eece9f798 Remove RWC runner and related infrastructure (#55187) 2023-08-07 14:35:15 -07:00
Jake Bailey
87c986cae8 Modify interactive inlay hints API to be more backwards compatible (#55274) 2023-08-04 17:11:58 -07:00
Jake Bailey
6a96b9767e Enable eslint rule no-useless-escape (#55138) 2023-07-28 16:02:38 -07:00