569 Commits

Author SHA1 Message Date
Sheetal Nandi
4baf4e8120 Handle resolution watching when its dynamic scriptInfo (#62894) 2026-01-15 19:34:11 +00:00
Sheetal Nandi
3dd0a35032
Initialize the map for dts to reference and source to reference when parsing project reference as its always needed (#61746) 2025-06-04 09:55:15 -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
7f597beb2e
Don’t try to recreate AutoImportProvider after giving up because of too many dependencies until program structure changes (#59692) 2024-08-20 17:12:28 -07:00
Sheetal Nandi
941d1543c2
Use open file to determine file existence (#59418) 2024-07-25 15:46:05 -07:00
Jake Bailey
3f6f3164d6
Remove stableSort, rename sort to toSorted (#55728) 2024-07-23 18:17:07 -07:00
navya9singh
b04c8a0edd
Fixing range for primary edit (#59369) 2024-07-22 17:14:35 -07:00
Sheetal Nandi
f8a7913c1e
Dont filter type aquisition when its not enabled (#59351) 2024-07-18 14:16:07 -07:00
Sheetal Nandi
247a98335d
In project, instead of iterating over program files to determine if file needs to be detached, do it through existing mechanism of releasing oldSourceFile (#59181) 2024-07-08 13:37:44 -07:00
Sheetal Nandi
6c68fdd4b5
Delay the calculation of common source root if it would be needed when calculation dts files (#59070) 2024-06-28 14:29:11 -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
05766227f0
Remove unnecessary properties of TypingsCacheEntry (#59044) 2024-06-26 13:15:54 -07:00
Sheetal Nandi
3b4cfb5e9b
Typings cache need not be a map but directly on the project (#59043) 2024-06-26 12:47:06 -07:00
Jake Bailey
867476e57a
Reject internal tag on private decls, strip comments from private decls in dtsBundler (#58869) 2024-06-18 16:14:29 -07:00
Jake Bailey
e30b5fbafe
Remove typescript-etw (#58832) 2024-06-13 13:04:51 -07:00
Sheetal Nandi
46fe067a06
Ensure the updates with crashes reverts the change to scriptInfo (#58846) 2024-06-12 15:26:48 -07:00
navya9singh
11b73ecc4a
Fixing a case when text is pasted into a blank file (#58595) 2024-05-21 11:54:35 -07:00
Sheetal Nandi
ba78807aa1
Handle project / program roots in tsserver correctly (#58562) 2024-05-20 11:45:31 -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
Sheetal Nandi
b9c71c3fc3
Always send configFileDiagEvent and instead set triggerFile for more consistency (#58462) 2024-05-07 15:58:26 -07:00
Jake Bailey
16beff101a
Use explicit extensions for imports within src (#58421) 2024-05-06 17:07:54 -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
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
Sheetal Nandi
25de1b05b4
Send configFileDiag event when presence of errors change on project.update (#58120) 2024-04-08 15:30:36 -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
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
1797837351
Handle package json watch life time (#56488) 2023-11-27 14:50:22 -08:00
Jake Bailey
0aa2c48ee3
Make our dts files compile when exactOptionalPropertyTypes is enabled downstream (#56489) 2023-11-21 11:40:31 -08:00
Sheetal Nandi
ca7a3af5e6
Always update LS state through Project (#56356)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-11-10 12:45:39 -08:00
Sheetal Nandi
80ab111685
If the project is orphan dont queue up TI reqquest (#56355) 2023-11-09 12:16:29 -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
3516ca96e5
pass program update level to getExternalFiles in tsserver plugins so plugins can make decision about their cache based on that (#56047)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2023-10-09 16:05:11 -07:00
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
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
Sampo Kivistö
ec2bd4e252
perf: replace String and Array indexOf method calls with includes method call (#55482) 2023-08-25 11:27:55 -07:00
Jake Bailey
5e8c261b6a
dprint the codebase (#54820) 2023-08-16 14:26:38 -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
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
Sheetal Nandi
a956bbc831
Instead of watching files in typing installer, forward it to projectService (#54028) 2023-04-26 13:31:36 -07:00