Commit Graph

1969 Commits

Author SHA1 Message Date
Andrew Branch
a0cd135c8e Allow disabling built-in TS/JS extension in favor of tsgo 2025-04-17 12:13:49 -07:00
Matt Bierner
4035369003 Move js/ts suggest into own config section 2025-04-16 09:53:33 -07:00
Dirk Baeumer
afd0e79b03 Fixed working GDPR comment 2025-04-16 09:39:57 +02:00
Dirk Baeumer
607f641e6e Improve event names 2025-04-15 14:28:14 +02:00
Dirk Baeumer
fada1cb096 Fix event name 2025-04-15 12:20:36 +02:00
Dirk Baeumer
0c129cf983 Add telemetry trace support to TypeScript 2025-04-15 11:46:39 +02:00
Matt Bierner
2a59b9fa15 Fix capitalization 2025-04-14 15:02:45 -07:00
Matt Bierner
8cd20f6444 Start splitting js/ts settings to subsections 2025-04-14 15:01:14 -07:00
Matt Bierner
526705b491 Merge pull request #244485 from mjbvz/tasty-lion
Pick up latest TS for building VSCode
2025-03-28 11:24:19 -07:00
Matt Bierner
802bc5e831 Merge pull request #242500 from mjbvz/entire-bison
Remove old TS surveys setting
2025-03-25 10:57:07 -07:00
Matt Bierner
8225b496b1 Updating @types/node
Needs some minor code changes too to support the new typings
2025-03-24 13:02:28 -07:00
Matt Bierner
b61d46c3e4 Add extra catch around package manager 2025-03-12 16:58:50 -07:00
Matt Bierner
40113edcfe Remove old TS surveys setting
This hasn't been used for a while
2025-03-03 11:11:46 -08:00
Benjamin Pasero
f909b15f53 status - consistent casing for language entries (#242466)
* status - consistent casing for language entries

* more
2025-03-03 15:36:07 +01:00
Matt Bierner
c071cfb288 Merge branch 'main' into reverthover 2025-02-26 14:16:06 -08:00
Matt Bierner
8874a60376 Merge pull request #241742 from mjbvz/upper-walrus
Always try sending along project root paths
2025-02-26 14:12:12 -08:00
Matt Bierner
4fb6e4a08f Preserve original data transfer value if still in same ext host context
Fixes #241164
2025-02-24 12:51:18 -08:00
Matt Bierner
9697d7ea66 Always try sending along project root paths
If the user opens a ts file outside of any workspace, currently we may not send along a project root path to TS. This can result in extra projects being loaded

Instead we should tell TS about the current workspace we have opened
2025-02-24 11:08:54 -08:00
Matt Bierner
8fe3d06206 Merge pull request #241154 from mjbvz/comprehensive-deer
Align TS ext lazy implementation with core
2025-02-19 00:13:57 -08:00
Matt Bierner
3704d97cc1 Align TS ext lazy implementation with core 2025-02-18 23:48:32 -08:00
Matt Bierner
1fb1ae0312 Don't log undefined in TSServer error 2025-02-18 23:46:28 -08:00
Benjamin Pasero
419e6aa2f3 debt - remove missing documentPaste proposal (#241019) 2025-02-17 17:02:04 +01:00
Gabriela Araujo Britto
03bfa56b29 fix indentation 2025-02-07 15:11:54 -08:00
Gabriela Araujo Britto
2db415abf0 add back 5.7 version 2025-02-07 13:44:45 -08:00
Gabriela Araujo Britto
746caa340a Revert "[typescript-language-features] Expandable hover (#228255)"
This reverts commit 0f9abf3c35.
2025-02-07 12:58:24 -08:00
Matt Bierner
569d6942e8 Use clearer reference 2025-02-07 00:31:33 -08:00
Matt Bierner
ae77c3ff42 Optimistically show paste with imports if TS server takes to long when computing imports to add
Fixes #235959

When pasting across files, sometimes users can see a spinner while we wait to see if TS has a `paste with imports` edit. This needs to be done even if we insert plain text by default so that we can then show the paste widget and user can select `paste with imports`

This change makes it so that if TS takes over 200ms, we assume that a paste operation may be available and return an unresolved edit for it. Only when the edit then actually needs to be applied, we wait for TS to respond

In most cases we won't need to wait because plain text will be pasted by default. Users will then only see the spinner after selecting `paste with imports`
2025-02-07 00:01:46 -08:00
henry
3eb1f2c914 correct conditions 2025-01-24 00:41:28 -06:00
henry
ac7533df77 fixed lazy client 2025-01-23 20:10:05 -06:00
Martin Aeschlimann
273f654ced Merge remote-tracking branch 'origin/main' into aeschli/clear-wombat-216 2025-01-17 09:42:36 +01:00
Martin Aeschlimann
37a00332c7 remove old MappedEditsProvider 2025-01-15 21:21:58 +01:00
aslezar
d8ea024868 chore: used same message decription for TS and JS 2025-01-14 12:49:27 +05:30
Shivam Garg
00d7778d98 Merge branch 'microsoft:main' into fix-js-indent 2025-01-13 01:42:01 +05:30
Matt Bierner
4daea74ba9 Finalize paste api and drop api tweaks
Fixes #30066

This finalizes the documentPaste api. This api allows extensions to attach metadata on text copy and change how content is pasted. Some examples:

- Updating imports for pasted code
- Inserting an image as an attachment in notebooks
- Pasting files converts them to relative text paths
2025-01-07 14:57:16 -08:00
aslezar
97a5f18d0d fix: update descriptions for switch-case indentation settings in TypeScript and JavaScript 2024-12-31 13:06:32 +05:30
aslezar
a91e6b684b feat: support custom js switch-case indentation 2024-12-29 15:24:38 +05:30
Matt Bierner
cfb3a3043d Merge branch 'main' into patch-1 2024-12-17 11:31:26 -08:00
Logan Ramos
e689b912ba Update telemetry package (#236378) 2024-12-17 20:12:49 +01:00
Matt Bierner
6be3f02482 Inline simple methods
These don't add much
2024-12-16 15:50:05 -08:00
DetachHead
d6bf64517a remove javascript.inlayHints.enumMemberValues.enabled because javascript does not have enums 2024-12-17 09:42:08 +10:00
Matt Bierner
bee3e32d01 Merge pull request #235987 from mjbvz/narrow-bobcat
Make sure we sync file config before generating paste edits
2024-12-12 09:56:39 -08:00
Matt Bierner
8c7ca99740 Make sure we sync file config before generating paste edits
This could explain why we occasionally see the wrong style of import being generated
2024-12-12 09:36:15 -08:00
Matt Bierner
6a0fcdeca6 Make preparePasteEdits interrupt diagnostics too
For #235959

Already done for the main paste request but we should do it for `preparePasteEdits`  too
2024-12-12 09:17:26 -08:00
Aiday Marlen Kyzy
18bd4c58c7 Add more detail to expandable-hover setting description (#235596)
* adding more detail to hover

* polish
2024-12-09 10:26:42 +01:00
Riley Bruins
3b7e1c668a Render JSDoc examples as typescript code (#234143)
Currently `@example` produces Markdown code blocks for code examples,
but they are not annotated with a programming language. This commit
annotates those code blocks as `typescript`, allowing for better
highlighting for JS/TS when using Markdown renderers that recognize
these languages.
2024-11-22 12:11:59 -08:00
Matt Bierner
c83b443da0 Clean up support for paste edits (#234240)
- Allow setting an array of preferences for paste as keybindings
- Clarifies kinds used for core and extensions
- Exports text kind as API
2024-11-20 07:14:10 +01:00
Dirk Bäumer
46afc4d3b9 Handle TypeScript server arguments (#234139)
* Handle TypeScript server arguments

* Pass token as last parameter
2024-11-19 15:03:02 -08:00
Matt Bierner
4cdfe236ce Use uris when resolving project loading indicator display (#233859)
Fixes #230009
2024-11-14 18:10:33 -08:00
Nathan Shively-Sanders
a1276ac6df Revert register copilotRelated with copilot (#233729)
* Revert "Add new context parameter to API"

This reverts commit a003a0de24.

* Remove additional references to CopilotRelated
2024-11-13 05:08:23 +00:00
Matt Bierner
ea13242861 Extract interface and fix dispose for TS related files (#233705)
The array is updated async so we can't spread it in the return type
2024-11-12 18:01:19 +01:00