1541 Commits

Author SHA1 Message Date
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
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
Mustafa Ateş Uzun
c532603633
fix: type key typo (#55443) 2023-09-07 14:53:19 -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
Jake Bailey
5e8c261b6a
dprint the codebase (#54820) 2023-08-16 14:26:38 -07:00
Jake Bailey
3c6c557039
Move tsserverlibrary.js to typescript.js, make tsserverlibrary.js a shim (#55273) 2023-08-14 12:45:27 -07:00
Jake Bailey
7eece9f798
Remove RWC runner and related infrastructure (#55187) 2023-08-07 14:35:15 -07:00
Andrew Branch
36ac4eb700
Fix reference marking of values merged with unresolvable type-only imports (#54799) 2023-08-03 11:09:50 -07:00
Mateusz Burzyński
6c942fa2c9
Wrap inline negative const enum with parens (#55065)
Co-authored-by: Oleksandr T <oleksandr.tarasiuk@outlook.com>
2023-07-31 16:33:51 -07:00
Jake Bailey
6a96b9767e
Enable eslint rule no-useless-escape (#55138) 2023-07-28 16:02:38 -07:00
Oleksandr T
02e8d5ec61
fix(54951): using being too strict to throw on Function type (#54969) 2023-07-17 18:32:25 -04: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
Sheetal Nandi
5464403848
ParseConfigHost needs to extend ModuleResolutionHost (#54922) 2023-07-10 11:40:40 -07:00
Oleksandr T
bc91920cc6
feat(53461): Implement decorator metadata proposal (#54657) 2023-06-23 10:55:22 -04:00
Ron Buckton
f9cf8216c6
Support using and await using declarations (#54505) 2023-06-22 17:02:56 -04:00