Commit Graph

1508 Commits

Author SHA1 Message Date
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
Sheetal Nandi
f22898d577 Close TypingInstaller watches on project close (#54025) 2023-04-26 12:34:42 -07:00
Sheetal Nandi
9ac5886715 Add back tests for async plugin that got deleted as part of #51699 (#54019) 2023-04-25 15:30:59 -07:00
navya9singh
d3bbef390d 'Move to file' refactor (#53542) 2023-04-21 11:48:53 -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
Sheetal Nandi
0a98b32b47 Refactor test helpers (#53918) 2023-04-19 14:46:56 -07:00
Sheetal Nandi
53d378720a When installing unrelated package inside scoped packages dont invalidate resolutions from everything in the scoped package (#53873) 2023-04-17 12:37:32 -07:00
Sheetal Nandi
df3bec6674 Tweak module resolution failed lookup watching (#53591) 2023-04-13 14:50:50 -07:00
Jake Bailey
a26175bffb Ensure findPrecedingToken recurses into JSDoc children when needed (#53487) 2023-04-12 12:00:47 -07:00
Sheetal Nandi
4615e52d93 Update more tests for paths (#53728) 2023-04-10 14:29:43 -07:00
Sheetal Nandi
926c6f1ddb Some of the test updates to ensure that it still tests what it is suppose to after we update watch path logic (#53726) 2023-04-10 13:37:33 -07:00
Sheetal Nandi
85f20246a4 Make the server logs more stable by stubbing time and seq info in the log (#53693) 2023-04-06 16:23:44 -07:00
Sheetal Nandi
acb48f192c More directory patterns for testing that we will care about (#53653) 2023-04-03 15:34:37 -07:00