1558 Commits

Author SHA1 Message Date
Phil Pluckthun
ef091bf755
Allow plugins to be loaded from package subpaths (#57266)
Co-authored-by: Sheetal Nandi <sheetalkamat@users.noreply.github.com>
2024-02-21 13:55:47 -08:00
Daniel Rosenwasser
3dfdd1b7c1
Bump version to 5.5. (#57452) 2024-02-20 15:20:55 -08:00
Oleksandr T
c18c1c20dc
fix(57302): Cannot move symbols from tsx to ts files (#57305) 2024-02-16 10:36:23 -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
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
Ron Buckton
821b1d8fdf
Looser import/export elision blocking in visitElidableStatement (#57223) 2024-01-31 16:47:16 -05:00
Sheetal Nandi
113537713d
Fix ReloadRequest in protocol found while updating to use session in tests (#57158) 2024-01-25 08:59:56 -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
Titian Cernicova-Dragomir
9a0c7b1c3b
Reduce file system calls during test setup. (#56791) 2024-01-11 11:08:55 -08:00
Isabel Duan
780097856a
Organize type imports (#55269) 2024-01-09 16:29:16 -08:00
Ron Buckton
5eda842be0
Stage 3 Decorators normative changes (#56955) 2024-01-05 15:29:12 -05:00
Isabel Duan
8dfbfcb058
fix54492: allow editor to check for original file extension for rename (#56680) 2023-12-08 09:32:52 -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
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
Andrew Branch
4d3418205c
Elide re-exports of unresolved type-only imports (#56449) 2023-11-17 14:38:39 -08:00
Josh Goldberg ✨
361fafb23c
Filtered out types from import suggestions in JS files (#53619)
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-11-16 10:18:24 -08:00
Sheetal Nandi
29bb857226
Fix crash when there are multiple packages to install per code fix action (#56400) 2023-11-15 16:13:27 -08:00
Andrew Branch
a6367977d4
isolatedModules error on alias merging with local value (#56354) 2023-11-15 14:11:12 -08:00
Sheetal Nandi
e40730f283
Handle fsWatch event with accesstime change on mac os (#56403) 2023-11-15 13:12:43 -08:00
Sheetal Nandi
e170bc59d4
Pull out parts of TI Adapter so we can test that more correctly instead of having to copy things (#56387) 2023-11-14 10:33:54 -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
efecc85dca
All tsserver unittests use session and typing installer (#56337) 2023-11-09 11:48:48 -08:00
Sheetal Nandi
e58d8fd635
Handle dts emit time errors for incremental scenarios and buildInfo (#56295) 2023-11-02 18:35:28 -07:00
Ron Buckton
79da510066
Fix incorrect flags in modifierFlagsCache (#56198) 2023-10-25 18:24:53 -04:00
Sheetal Nandi
55395f9e01
When caching type references cache the tracked symbols so they can be emitted in the d.ts file (#51721) 2023-10-25 15:05:47 -07:00
Sheetal Nandi
781cc19b32
Updates to unittests to make them more readable (#56214) 2023-10-24 22:14:31 -07:00
Ron Buckton
7d3f387318
Properly handle AsyncGeneratorUnwrapYieldResumption (#56150) 2023-10-19 17:16:34 -04: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
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
Jake Bailey
a48cebf65d
Update dprint-typescript to 0.88.1, reformat (#55913) 2023-09-29 14:12:50 -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
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
Jake Bailey
1a68590c9c
Mark more options as affecting errors/resolution (#53403)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
2023-09-19 15:11:21 -07:00
Sheetal Nandi
fc418a2e61
Special case "/workspaces" for watching root so that codespaces work correctly (#55738) 2023-09-14 11:34:19 -07:00
Jake Bailey
c0b39c6967
Skip parsing JSDoc when not needed (#52921)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
2023-09-13 15:58:20 -07:00
Jack Works
e7bb0ebfac
refactor: let exportMapKey accepts bad symbol name (#54678) 2023-09-13 09:39:05 -07:00
Sheetal Nandi
3ade5022d7
Fix file matching with tsx and dts of same name are included by include patterns (#55690) 2023-09-12 13:10:34 -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