711 Commits

Author SHA1 Message Date
Gabriela Araujo Britto
4857546865
Region-based semantic diagnostics (#57842) 2024-06-13 16:21:01 -07:00
Jake Bailey
e30b5fbafe
Remove typescript-etw (#58832) 2024-06-13 13:04:51 -07:00
Kat Marchán
ddf43cd0e0
CodeMapper support (#55406) 2024-05-22 16:47:08 -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
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
Jake Bailey
e72605925d
Update deps and fix new lints (#57870) 2024-03-21 09:24:23 -07:00
navya9singh
c295531bfa
Adopt code action ranges for refactorings (#57608) 2024-03-18 14:34:44 -07: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
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
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
Sheetal Nandi
feeb30dec9
Some of the test refactoring and readable baselining (#56075) 2023-10-12 10:39:40 -07:00
Sheetal Nandi
9473195b6c
noDts project resolutions verification and updates for incremental behaviour (#56016) 2023-10-10 10:24:08 -07:00
Sheetal Nandi
934216f968
Support using client watch in tsserver using events (#54662) 2023-09-22 14:25:40 -07:00
Gabriela Araujo Britto
b5d6aa73d1
Add option to exclude library symbols from navTo results (#55605) 2023-09-07 11:19:56 -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
5fe88ea044
[Interactive inlay hints] Get source file from parameter node (#55476) 2023-08-23 16:40:49 -07:00
Jake Bailey
5e8c261b6a
dprint the codebase (#54820) 2023-08-16 14:26:38 -07:00
Jake Bailey
87c986cae8
Modify interactive inlay hints API to be more backwards compatible (#55274) 2023-08-04 17:11:58 -07:00
Maria José Solano
97310107d0
Interactable parameter inlay hints (#54734) 2023-07-20 14:29:51 -07:00
Sheetal Nandi
3c4c060dff
Adds tests and fixes issues by verifying incremental project updates are handling language service ref counting correctly (#54504) 2023-06-06 11:11:14 -07:00
Oleksandr T
ce1c97f4f0
fix(54283): Provide better UX when an invalid file is selected for 'move to file' refactoring (#54300) 2023-05-18 10:36:34 -07:00
Gabriela Araujo Britto
24ac9e75c2
Improve class member snippet completions and keyword completions interaction (#52525) 2023-05-17 15:14:34 -07:00
Sheetal Nandi
bbb9f2ebcf
Just like request and response, events are also logged as formatted json for readability (#54105) 2023-05-02 13:32:12 -07:00
navya9singh
9d4c291e06
Adding missing parameter (#54045) 2023-04-27 12:36:55 -07:00
navya9singh
d3bbef390d
'Move to file' refactor (#53542) 2023-04-21 11:48:53 -07:00
Maria José Solano
e02ef9fddb
Add quotes when renaming numerical indices (#53596) 2023-04-20 16:58:29 -07:00
Jake Bailey
5402998c55
Declare typingsInstaller as optional for ProjectService (#53896) 2023-04-18 14:10:30 -07:00
Isabel Duan
d4c48e1495
Adds linked editing for JSX tags (#53284) 2023-04-07 13:39:10 -07:00
Sheetal Nandi
0ee51b96dc
More baselining for timeouts that make furture changes easier (#53579) 2023-03-30 09:48:34 -07:00
Jake Bailey
ac55b297b7
Upgrade "boolean-trivia" lint to new "argument-trivia" lint that uses type info, has quick fixes, etc. (#53002) 2023-03-23 16:26:39 -07:00
Sheetal Nandi
905a0b4e69
Create baselines for tsserver event tests (#53330) 2023-03-17 16:56:01 -07:00
Jake Bailey
a727ca1571
Make perfLogger potentially undefined rather than using a noop logger (#53229) 2023-03-15 15:58:26 -07:00
Sheetal Nandi
1da6d87a05
ScriptInfo versioning improvements (#53001) 2023-03-01 15:55:37 -08:00
Sheetal Nandi
dcc766f2b2
Remove long deprecated occurrences request (#52347) 2023-03-01 10:59:07 -08:00
Gabriela Araujo Britto
4775381811
Ensure projects are updated for find all references (#52583) 2023-02-06 15:42:05 -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
Sheetal Nandi
d76f3612c1
More removals of long deprecated APIs (#52343) 2023-01-20 15:25:06 -08:00
Sheetal Nandi
e5515164eb
Remove older deprecated APIs (#52338) 2023-01-20 12:55:04 -08:00
Jake Bailey
ddac387c3e
Deprecate CommandNames in favor of protocol.CommandTypes, direct import for better bundler output (#52208) 2023-01-19 16:31:50 -08:00
Jake Bailey
22b362ceac
Enable strictFunctionTypes (#49929) 2023-01-17 17:20:51 -08:00
Jake Bailey
f1ff0de943
Use native generators/iterables, remove helper cruft (#51921) 2023-01-06 14:40:56 -08:00
Andrew Branch
e0bfac531b
Rename module resolution option node to node10 (preserving backward-compatible alias) (#51901)
* Rename `node` to `node10` (preserving alias)

* Revert dogfooding change because of LKG

* Update baselines
2022-12-15 10:07:33 -08:00
Sheetal Nandi
3716ffe748
Make getSupportedCodeFixes on LS so it can be proxied by plugins (#51769)
Fixes #28966
2022-12-08 09:52:25 -08:00
Sheetal Nandi
9e845d2248
Api cleanup for Module and Type Reference directive resolution (#51546)
* Refactoring so CacheWithRedirects has Key and Value type parameters

* ModuleResolutionCache or TypeRefDirectiveCache will look in directory before solving, so ResolutionCache doesnt need this check

* Test showing module resolution is not shared because resolution cache doesnt update own options

* Enable traceResolution on some of the project reference tests

* Simplify CacheWithRedirects and ensure the options are set in all common scenarios so cache can be shared between redirects

* Make failedlookup etc optional in ResolvedModule/TypeRefefWithFailedLookupLocations
Also make accidental public failed lookup internal

* Add new API for module and type ref resolution

* Store auto type reference resolutions

* Modify test to show how using program partially doesnt report resolution diagnostics

* Ensure that resolution diagnostics are reported in filePreocessingDiagnostics so they can be reused when program is reused

* Some cleanup

* Remove the newly added ReoslutionInfo in favor of new APIs

* update
2022-12-05 11:56:33 -08:00
Jake Bailey
00dc0b6674
Flip imports to case insensitive sorting (#51579) 2022-11-17 15:35:28 -08:00
Jake Bailey
2d2a4343b8
Reformat imports to be one identifier per line (#51565) 2022-11-17 13:42:18 -08:00
Jake Bailey
9f64a3a58c
Remove ts.{Map,Set,ESMap,Iterator} and associated types (#51439) 2022-11-09 15:06:31 -08:00