1521 Commits

Author SHA1 Message Date
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
Andrew Branch
2f4962a89f
Remove implicit tests/cases/compiler path prefix from VFS test files (#54557) 2023-06-09 09:23:21 -07:00
Andrew Branch
d5a6c8edc6
Test harness fixes (#54556) 2023-06-06 17:22:33 -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
93ac5c6529
fix(54463): Move to existing file — Error: Debug Failure. at doChange4 (#54482) 2023-06-06 09:56:03 -07:00
Andrew Branch
160d1b7d0a
Process only tsconfig-referenced files in compiler tests with tsconfig files (#54506) 2023-06-05 15:05:50 -07:00
Daniel Rosenwasser
63a210bd1d
Use replaceAll instead of an incorrect RegExp for tsserver log sanitization. (#54454) 2023-05-30 12:51:56 -07:00
Sheetal Nandi
c64a378ef9
Handle already released source files that dont match scriptKind (#54401) 2023-05-25 15:58:22 -07:00
Sheetal Nandi
d210074c88
Make sure order of watches in baseline is fixed instead of depending on when it was added (#54313) 2023-05-18 13:01:11 -07:00
Sheetal Nandi
d01a1c3081
Fix the sample test which lead to discripancy with incremntal build because of error (#54311) 2023-05-18 12:02:42 -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
Ron Buckton
b14264a2eb
Reverse order of decorator-injected initializers (#54269) 2023-05-17 17:12:13 -04:00
Andrew Branch
f0ff97611f
isolatedModules does not imply every file is a module (#54218) 2023-05-12 15:14:49 -07:00
Nathan Shively-Sanders
b52e912601
move some tests that depend on tsserver into tsserver/ (#54219) 2023-05-11 15:48:17 -07:00
Nathan Shively-Sanders
72037a9796
Skip resolving files directly inside node_modules (#52809) 2023-05-11 08:16:17 -07:00
Sheetal Nandi
8b825f7aaa
Handle module node found error reporting in incremental and watch scneario (#54115) 2023-05-09 13:42:26 -07:00
Nathan Shively-Sanders
59d3a38180
fix jsdoc errors in .ts in tsserver (#54185) 2023-05-09 10:00:48 -07:00
Jake Bailey
ca185e95ce
Fix TS version appearing in baselines (#54154) 2023-05-05 09:54:09 -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
Taekmin Kwon
1416053b9e
Ensure call return() for an abrupt completion at for await of loop (#52754)
Co-authored-by: tm-kwon <tm.kwon@naverlabs.com>
2023-05-01 08:44:55 -04:00
Sheetal Nandi
a956bbc831
Instead of watching files in typing installer, forward it to projectService (#54028) 2023-04-26 13:31:36 -07:00