Commit Graph
305 Commits
Author SHA1 Message Date
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
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
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
Gabriela Araujo Britto c3efeb9d1b Move diagnostic duration to performance data (#59122) 2024-07-03 15:04:51 -07:00
Lars KappertandJake Bailey 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 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
Gabriela Araujo Britto 4857546865 Region-based semantic diagnostics (#57842) 2024-06-13 16:21:01 -07:00
Kat Marchán ddf43cd0e0 CodeMapper support (#55406) 2024-05-22 16:47:08 -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
Jake Bailey 16beff101a Use explicit extensions for imports within src (#58421) 2024-05-06 17:07:54 -07:00
Gabriela Araujo Britto 551a600e84 Add es2023 target (#58140) 2024-04-11 18:42:41 -07:00
Sheetal Nandi c87b5bcab9 Watch events enhancements (#57950) 2024-03-27 13:36:45 -07:00
Andrew BranchandJake Bailey 6d458e81cd Deduplicate protocol.ts content (#57361)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-03-04 11:41:49 -08:00
Jake BaileyandAndrew Branch 26df0cb23e Remove 5.5 deprecated compiler options (#57527)
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-02-28 14:35:39 -08:00
Jake Bailey 65de938e4e Remove target=es3 (#57525) 2024-02-27 11:40:18 -08:00
Sheetal Nandi 113537713d Fix ReloadRequest in protocol found while updating to use session in tests (#57158) 2024-01-25 08:59:56 -08:00
Andrew Branch 6cb6fc94ae Add --module preserve, support require in --moduleResolution bundler (#56785) 2024-01-19 12:03:24 -08:00
Isabel Duan 780097856a Organize type imports (#55269) 2024-01-09 16:29:16 -08:00
Isabel Duan 8dfbfcb058 fix54492: allow editor to check for original file extension for rename (#56680) 2023-12-08 09:32:52 -08:00
Sheetal Nandi 934216f968 Support using client watch in tsserver using events (#54662) 2023-09-22 14:25:40 -07:00
Gabriela Araujo Britto b5d6aa73d1 Add option to exclude library symbols from navTo results (#55605) 2023-09-07 11:19:56 -07:00
Jake Bailey 5e8c261b6a dprint the codebase (#54820) 2023-08-16 14:26:38 -07:00
Jake Bailey 87c986cae8 Modify interactive inlay hints API to be more backwards compatible (#55274) 2023-08-04 17:11:58 -07:00
Maria José Solano 97310107d0 Interactable parameter inlay hints (#54734) 2023-07-20 14:29:51 -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
Gabriela Araujo Britto 24ac9e75c2 Improve class member snippet completions and keyword completions interaction (#52525) 2023-05-17 15:14:34 -07:00
navya9singh d3bbef390d 'Move to file' refactor (#53542) 2023-04-21 11:48:53 -07:00
Andrew Branch 7bf0337428 Interactive refactor actions (#53915) 2023-04-19 13:01:28 -07:00
Donald33 Wang adcc39d2c7 Allow custom switch-case indentation in formatting (#53733) 2023-04-13 08:35:05 -07:00
Isabel Duan d4c48e1495 Adds linked editing for JSX tags (#53284) 2023-04-07 13:39:10 -07:00
Jake Bailey 913f65c28d Remove most "import * as ts" imports, except for const enum reverse mapping and plugins (#53329) 2023-03-20 10:50:40 -07:00
Sheetal Nandi dcc766f2b2 Remove long deprecated occurrences request (#52347) 2023-03-01 10:59:07 -08:00
Sheetal Nandi a097d55f81 Remove long deprecated typingOptions and enableAutoDiscovery (#52339) 2023-01-20 15:39:57 -08:00
Jake Bailey ebbc56d0b3 Derive allCommandNames from CommandTypes enum (#52319) 2023-01-19 16:51:41 -08:00
Ron Buckton 20182cf848 Organize imports collation (#52115) 2023-01-19 17:53:51 -05:00
Andrew Branch 4076ff8fd6 Add option for organize imports case sensitivity (#51733)
* Add ignore case option to organizeImports

* Adopt in auto-imports, use same case-insensitive comparison as eslint

* Fix build/lint

* Mark functions internal

* Update affected auto import test

* Update API baseline

* Update protocol

* Update API baseline

* Short-circuit comparisons that have already failed
2022-12-13 14:37:29 -08:00
Sheetal Nandi 3716ffe748 Make getSupportedCodeFixes on LS so it can be proxied by plugins (#51769)
Fixes #28966
2022-12-08 09:52:25 -08:00
Jake Bailey 2d2a4343b8 Reformat imports to be one identifier per line (#51565) 2022-11-17 13:42:18 -08:00
Jake Bailey d798493647 Remove no-unnecessary-qualifier from eslintrc (#51456) 2022-11-09 15:02:29 -08:00
Jake Bailey d12116d8da Fix all internal JSDoc comments
If these are regular comments, then they won't appear in our d.ts files.
But, now we are relying on an external d.ts bundler to produce our final
merged, so they need to be present in the "input" d.ts files, meaning
they have to be JSDoc comments.

These comments only work today because all of our builds load their TS
files from scratch, so they see the actual source files and their
non-JSDoc comments.

The comments also need to be attached to a declaration, not floating,
otherwise they won't be used by api-extractor, so move them if needed.
2022-11-07 13:34:44 -08:00
Jake Bailey 07758c08ab Generated module conversion step - inlineImports
This step converts as many explicit accesses as possible in favor of direct imports from the modules in which things were declared. This restores the code (as much as possible) back to how it looked originally before the explicitify step, e.g. instead of "ts.Node" and "ts.Symbol", we have just "Node" and "Symbol".
2022-11-07 13:33:07 -08:00
Jake Bailey b6c0538826 Generated module conversion step - stripNamespaces
This step converts each file into an exported module by hoisting the namespace bodies into the global scope and transferring internal markers down onto declarations as needed.

The namespaces are reconstructed as "barrel"-style modules, which are identical to the old namespace objects in structure. These reconstructed namespaces are then imported in the newly module-ified files, making existing expressions like "ts." valid.
2022-11-07 13:32:03 -08:00
Jake Bailey 9a0b85ce2a Generated module conversion step - explicitify
This step makes all implicit namespace accesses explicit, e.g. "Node" turns into "ts.Node".
2022-11-07 13:29:05 -08:00