Commit Graph

2136 Commits

Author SHA1 Message Date
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
627fbcbd69 Add fast path exits if we are retaining all configured projects (#59689) 2024-08-20 10:18:12 -07:00
Jake Bailey
6894ff7f38 Fix Set of one string literal bug in openExternalProject (#59686) 2024-08-19 13:44:57 -07:00
Andrew Branch
bcb1545aa3 Allow existing imports in file to supersede package.json filter (#59604) 2024-08-15 15:00:31 -07:00
Sheetal Nandi
5fd6a6fd8d Revert of Search ancestor and its references for default projects #57196 (#59634) 2024-08-15 11:48:11 -07:00
Sheetal Nandi
7753487591 Handle delayed or missed watches for project updates (#59625) 2024-08-13 17:58:08 -07:00
Jake Bailey
195203e971 Add regex eslint plugin, fix lints (#59371) 2024-08-13 14:16:53 -07:00
Jake Bailey
74cefa848c Tighten signature of append (#59426) 2024-07-26 10:08:40 -07:00
Sheetal Nandi
941d1543c2 Use open file to determine file existence (#59418) 2024-07-25 15:46:05 -07:00
Gabriela Araujo Britto
f8336d1479 Use spread when converting completion entry to protocol format (#59412) 2024-07-24 17:29:12 -07:00
Gabriela Araujo Britto
0c33c13b83 Fix completion entry conversion to protocol format (#59410) 2024-07-24 12:59:15 -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
6369240da6 Store information in buildInfo to repopulate mode mismatch based on status of package.json (#59286) 2024-07-16 10:12:14 -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
Gabriela Araujo Britto
c3efeb9d1b Move diagnostic duration to performance data (#59122) 2024-07-03 15:04:51 -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
Lars Kappert
752135eb40 Remove unused exports & dead code (using Knip) (#56817)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-06-27 14:24:01 -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
Sheetal Nandi
d403e0850f Fix the consistency and correctness of performanceData reported per request (#58968) 2024-06-24 19:02:19 -07:00
Sheetal Nandi
600dde8834 Report updateGraph time in async requests (that is getErr) as well as part of request completed event (#58845) 2024-06-21 12:52:57 -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
Daniel Rosenwasser
4935e14901 Use more explicit operations in core helpers (and other nits) (#58873) 2024-06-18 16:00:00 -07:00
Sheetal Nandi
e6add984c7 Search ancestor and its references for default projects (#57196) 2024-06-14 13:13:37 -07:00
Gabriela Araujo Britto
4857546865 Region-based semantic diagnostics (#57842) 2024-06-13 16:21:01 -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
Kat Marchán
ddf43cd0e0 CodeMapper support (#55406) 2024-05-22 16:47:08 -07:00
navya9singh
11b73ecc4a Fixing a case when text is pasted into a blank file (#58595) 2024-05-21 11:54:35 -07:00
Andrew Branch
84ab39d7f0 Respect importModuleSpecifierPreference in sort order between fixes for the same symbol from different files (#58597) 2024-05-21 08:36:53 -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
Andrew Branch
19dc1c6c8c Re-export more referenced types from protocol.ts (#58487) 2024-05-09 11:42:15 -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
c0ac582284 Make the config file name in logger little more concise. (#58255) 2024-04-19 11:26:31 -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
904a59f343 Print correct information about noOpenRef in the baseline (#58230) 2024-04-17 13:28:33 -07:00
Sheetal Nandi
cbae6cf9f4 Add template variable ${configDir} for substitution of config files directory path (#58042) 2024-04-16 16:25:07 -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
Gabriela Araujo Britto
551a600e84 Add es2023 target (#58140) 2024-04-11 18:42:41 -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