2143 Commits

Author SHA1 Message Date
TypeScript Bot
3140dbb79a
🤖 Pick PR #60488 (Stub out copilotRelated command) into release-5.7 (#60495)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2024-11-13 12:40:47 -08:00
navya9singh
0ec4d30a6e
Fixing exception on unsaved file (#60362) 2024-11-02 22:55:36 -07:00
Nathan Shively-Sanders
da15ef2841
Fix a crash in an anonymous buffer that copilot is writing to. (#60377) 2024-10-30 15:36:19 -07:00
Andrew Branch
b8e4ed8aeb
Fix --showConfig to show transitively implied options that vary from the default config (#60240) 2024-10-16 11:14:44 -07:00
Kenta Moriuchi
9d98874739
Introduce ES2024 target and fix some types (#58573)
Co-authored-by: indrajitbnikam <indrajitbnikam@gmail.com>
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
2024-09-27 14:58:17 -04:00
Nathan Shively-Sanders
52c59dbcbe
Add CopilotRelated command (#59963) 2024-09-26 16:10:41 -07:00
navya9singh
8499803ae0
Adding preparePasteEdits method to check if smart copy/paste should be applied (#60053) 2024-09-26 11:50:23 -07:00
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