2054 Commits

Author SHA1 Message Date
Sheetal Nandi
4ec809da37
Fix issue with trailing directory separator not present if symlink wasnt detected by program (#55865) 2023-09-25 16:52:27 -07:00
Sheetal Nandi
934216f968
Support using client watch in tsserver using events (#54662) 2023-09-22 14:25:40 -07:00
Sheetal Nandi
dcb0fa7f44
Incremental testing for program structure and resolutions and fixes (#55814) 2023-09-22 10:53:19 -07:00
Sheetal Nandi
83f02a4b7e
Picking resolutions of module for sourceFile as method (#55818) 2023-09-22 10:24:37 -07:00
Jake Bailey
a3c5d5d37e
Make JSDoc skipping public, plus more configurable (#55739) 2023-09-21 15:31:09 -07:00
Sheetal Nandi
ec1414f627
Source files not affected by all module resolution options (#55790) 2023-09-20 16:45:32 -07:00
Sheetal Nandi
3bc41784f0
Fix issue with wildcard with supported extensions when plugins add external files and override getScriptKind to add script kinds for the additional extensions (#55716) 2023-09-12 11:52:49 -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
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
Sheetal Nandi
cd23992100
Temp fix till we investigate #55069 making project.ts changes building error free (#55219) 2023-07-31 11:24:29 -07:00
Jake Bailey
6a96b9767e
Enable eslint rule no-useless-escape (#55138) 2023-07-28 16:02:38 -07:00
Maria José Solano
97310107d0
Interactable parameter inlay hints (#54734) 2023-07-20 14:29:51 -07:00
Josh Goldberg ✨
0ae8ca11d2
Updated typescript-eslint to v6 (#54693)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-07-14 15:36:10 -07:00
Andrew Branch
22a9ae9eed
Offer auto-imports from wildcard exports with AutoImportProvider (#54831) 2023-07-07 12:50:38 -05: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
Sheetal Nandi
a956bbc831
Instead of watching files in typing installer, forward it to projectService (#54028) 2023-04-26 13:31:36 -07:00
Sheetal Nandi
f22898d577
Close TypingInstaller watches on project close (#54025) 2023-04-26 12:34:42 -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
Sheetal Nandi
30fb9fa57e
Refactor plugin related code (#53942) 2023-04-20 16:49:47 -07:00
Sheetal Nandi
ddd5084659
Add resolveLibrary method on hosts and store resolvedLibraries in program so that resolutions can be reused (#53877) 2023-04-20 13:50:22 -07:00
Andrew Branch
7bf0337428
Interactive refactor actions (#53915) 2023-04-19 13:01:28 -07:00
Jake Bailey
5402998c55
Declare typingsInstaller as optional for ProjectService (#53896) 2023-04-18 14:10:30 -07:00
Sheetal Nandi
b846033000
Instead of clearing out all resolutions and closing all the directory watchers, mark everything as invalidated when changes affect module resolution (#53882) 2023-04-18 10:21:17 -07:00
Sheetal Nandi
df3bec6674
Tweak module resolution failed lookup watching (#53591) 2023-04-13 14:50:50 -07:00
Donald33 Wang
adcc39d2c7
Allow custom switch-case indentation in formatting (#53733) 2023-04-13 08:35:05 -07:00
Isabel Duan
d4c48e1495
Adds linked editing for JSX tags (#53284) 2023-04-07 13:39:10 -07:00
Kat Marchán
d23b7e7c52
export TypingsInstaller from tsserverlibrary (#53394) 2023-04-07 11:32:24 -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
Jake Bailey
913f65c28d
Remove most "import * as ts" imports, except for const enum reverse mapping and plugins (#53329) 2023-03-20 10:50:40 -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
Sheetal Nandi
9c5b09cd21
Updates to type reference directive resolution and module resolution when failed (#51715) 2023-03-01 10:57:47 -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
2a8436c529
Use eslint-plugin-simple-import-sort (#52090) 2023-02-02 14:36:21 -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
a097d55f81
Remove long deprecated typingOptions and enableAutoDiscovery (#52339) 2023-01-20 15:39:57 -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