Commit Graph

2152 Commits

Author SHA1 Message Date
Andrew Branch 7956c00166 Deprecate --moduleResolution node10 (#62338) 2025-08-27 13:51:20 -07:00
Andrew Branch cb38d99d08 Add --module node20 (#61805) 2025-06-09 14:20:00 -07:00
Sheetal Nandi 3dd0a35032 Initialize the map for dts to reference and source to reference when parsing project reference as its always needed (#61746) 2025-06-04 09:55:15 -07:00
Gabriela Araujo Britto 0ee67b517f Add configurable maximum hover length (#61662) 2025-05-09 13:31:39 -07:00
Gabriela Araujo Britto 069de743db Expandable hover (#61492) 2025-04-15 12:14:38 -07:00
Gabriela Araujo Britto 34ea32f8ce Revert "Proposed expandable hover API" (#61132) 2025-02-07 12:44:02 -08:00
Armando Aguirre 717d05cc2d Fixed BADCLIENT error message (#60925)
Co-authored-by: Armando Aguirre Sepulveda <araguir@microsoft.com>
2025-01-07 15:58:37 -08:00
Andrew Branch f69580f821 Add --module node18 (#60722) 2024-12-13 10:16:23 -08:00
Nathan Shively-Sanders 79ea5a5b35 Stub out copilotRelated command (#60488) 2024-11-13 08:33:00 -08:00
Gabriela Araujo Britto 80eeb4ec8d Proposed expandable hover API (#59940) 2024-11-05 16:41:13 -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