Commit Graph

172 Commits

Author SHA1 Message Date
Gabriela Araujo Britto
55fe033211 update description and api check 2025-04-18 08:29:33 -07:00
Gabriela Araujo Britto
df61dc46bd Revert "Merge pull request #240011 from gabritto/reverthover"
This reverts commit ef3a39fffd, reversing
changes made to e38edc4e3b.
2025-04-17 13:16:08 -07:00
Matt Bierner
4035369003 Move js/ts suggest into own config section 2025-04-16 09:53:33 -07: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
40113edcfe Remove old TS surveys setting
This hasn't been used for a while
2025-03-03 11:11:46 -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
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
Matt Bierner
20e2977a10 Update paste/drop preference settings (#233261)
Makes it a simple array of kinds for now. We can add the mime type variation later if needed

Also makes the paste with imports have a better hierarchy. This lets you setup a keybinding for `text.updateImports` that will work across all languages that support it
2024-11-06 22:59:18 +01:00
Matt Bierner
54d81cd618 Add paste as default settings and enable js/ts paste with imports by default (#233031)
Fixes #184871
For #30066

Adds new settings that let you configure the default way to paste/drop.

Also enables js/ts paste with imports by default for 5.7+. However will not apply by default. Instead it will be shown as an option after pasting. You can then use the `editor.pasteAs.preferences` setting to make it apply automatically or use the `javascript.updateImportsOnPaste.enabled` settings to disable the feature entirely
2024-11-04 16:30:09 -08:00
Isabel Duan
20a02666f9 Merge branch 'main' into organizeImportsSettingsFix 2024-10-30 15:50:10 -07:00
Isabel Duan
fbbcdd4f05 fix wrong description, add examples 2024-10-30 15:44:19 -07:00
Isabel Duan
95779b7b37 add descriptions, refactor getPreferences function to be more clear 2024-10-30 15:28:59 -07:00
Matt Bierner
8875f03ec8 Remove code action contribution section (#232664)
This was never fully implemented and I'm not sure we're going to move forward with the static contribution proposal
2024-10-30 14:03:43 -07:00
Matt Bierner
f6d41bc200 Small cleanup in js/ts package strings (#232660) 2024-10-30 13:15:46 -07:00
Matt Bierner
890985d7e3 Remove (experimental) from setting descriptions (#231963)
Fixes #231958
2024-10-22 11:42:16 -07:00
Matt Bierner
f4bdaadbac Merge vscode ts file watch settings (#230152)
Fixes #230144

Also deprecates the experimental setting while still observing it for now
2024-09-30 12:32:24 -07:00
Matt Bierner
f74d65ef2c Adopt preparePasteEdits for js/ts update imports on paste (#230007)
Client side of https://github.com/microsoft/TypeScript/pull/60053
2024-09-27 21:50:23 +02:00
Gabriela Araujo Britto
0f9abf3c35 [typescript-language-features] Expandable hover (#228255)
* add verbosity level to hover provider

* cleanup

* update minimum ts version

* get `canIncreaseVerbosityLevel` from server response

* add expandable hover experimental setting
2024-09-24 09:22:09 -07:00
Matt Bierner
913b9b9a2c Tweak organize imports setting descriptions
For #225814

- Removes link to presets which haven't yet been finalized
- Adds periods at end of descriptions
2024-08-28 13:48:57 -07:00
Andrew Branch
7b357dd3a5 [typescript-language-features] Add autoImportSpecifierExcludeRegexes preference 2024-08-21 12:10:36 -07:00
Matt Bierner
ddbe321368 Remove presets for now
https://github.com/microsoft/typescript/issues/59579
2024-08-16 13:01:03 -07:00
Matt Bierner
2a045a1bc1 Merge branch 'main' into organize-imports-settings 2024-08-08 11:57:09 -07:00
Gabriela Araujo Britto
878af0771b [typescript-language-features] Region-based semantic diagnostics for TypeScript (#208713)
* WIP

* invalidate diagnostics in range

* check whether should use region based diagnostics

* add ts-expect-errors

* make region opt off by default

* bump to expected 5.6

* update comments to refer to 5.6

* make region diagnostics on by default for insiders
2024-06-19 15:12:57 -07:00
Matt Bierner
b7e5750fa9 Restrict copy/paste with imports to TS 5.6+ (#215386)
Also skips when the copied file is the same as the paste file
2024-06-12 22:20:46 +02:00
Matt Bierner
934af755c4 Hook up prototype paste with imports for JS/TS (#204665)
* Hook up prototype paste with imports for JS/TS

For https://github.com/microsoft/TypeScript/pull/57262 but with proposed changes to ts protocol

* Support new api

* Update
2024-05-24 21:57:30 +02:00
Matt Bierner
daec93b827 Disable web ata for safari (#212726) 2024-05-14 11:12:28 -07:00
Matt Bierner
a4643b0ee0 Enable web type acquisition by default for js/ts (#212370)
* Enable web type acquisition by default for js/ts

Fixes #182791
Fixes #172887

* Cleanup
2024-05-09 20:09:49 +02:00
Sheetal Nandi
b2c4302323 Use vscode watches for tsserver (#193848) 2024-04-09 13:39:34 +02:00
Isabel Duan
bc2c9609c2 add settings 2024-04-01 19:24:48 +00:00
Nathan Shively-Sanders
5e6ec068b2 Split TS' AI-backed code actions into separate entries (#201140)
* Split TS' AI-backed code actions into separate entries

Lets the user decide whether to add AI to their code action, which shows
intent, which is good for us to learn whether people actually want this.

Related: this should be unflagged for insiders. To do this, do I just
delete the flags?

* Stop appending a duplicate message in missingFunctionDeclaration

* Fix: quickfix was still showing Copilot-only

It's a workaround--I'm not sure of the right way to do this.

* Update to use `isAI`

* Put AI code actions after others.

* Add isAI to rest of code actions

* Remove flags for TS AI code actions

* Check for copilot-chat instead of copilot

It's possible to have copilot installed without copilot-chat.

* Fix file casing

---------

Co-authored-by: Matt Bierner <matb@microsoft.com>
2024-01-31 22:46:39 +00:00
John Murray
77dc8793db Add typescript.implementationsCodeLens.showOnInterfaceMethods setting (#136282) (#198419)
* Add `typescript.implementationsCodeLens.showOnInterfaceMethods` setting (#136282)

* Update codelenses when `typescript.referencesCodeLens.showOnAllFunctions` changes

* Improve handling of disposables
2023-11-16 22:46:41 +00:00
Andrew Branch
48f4a503f8 Add missing preference description for preferTypeOnlyAutoImports 2023-11-03 12:57:23 -07:00
Joyce Er
dedfcf65d3 feat: add enum descriptions for TS locale setting (#195947) 2023-10-19 01:52:49 +02:00
Greg Van Liew
ef0871b7bb Edits to setting descriptions (#195007) 2023-10-06 10:04:37 -07:00
Matt Bierner
a12bb0543d Restore copilot fixes/refactorings (#194092)
Reverts #193810 to restore #193810
2023-09-26 09:40:27 +02:00
Johannes Rieken
b7fad0df6d Revert "Copilot-based TS refactors" 2023-09-22 16:05:04 +02:00
Nathan Shively-Sanders
530870bd40 Config: change defaults and add descriptions 2023-09-20 10:12:11 -07:00
Nathan Shively-Sanders
968d1bd1bb Merge branch 'main' into ai-codefixes 2023-09-14 11:24:50 -07:00
Nathan Shively-Sanders
d1d6055aa5 Add more complex options 2023-09-14 11:23:16 -07:00
Gabriela Araujo Britto
f563e33800 [typescript-language-features] Add option for excluding library symbols in "Go to Symbol in Workspace" (#192798)
* add option for excluding library symbols

* clarify in message that new option requires ts 5.3

* remove expect error
2023-09-13 18:19:52 +00:00
Gabriela Araujo Britto
efc1b30976 Add custom Node option to run TS Server (#191019)
* Add config for running tsserver on custom node

* log when custom node install is used

* create node version manager

* get node path from node version manager everywhere

* modify prompt

* fix useIpc

* use spawn for custom node and set windowsHide

* detect node

* link memory setting to node setting
2023-09-06 20:27:16 +00:00
Matt Bierner
45e2e0bfd0 JS/TS package acquisition (#184438)
* Experiment with adding ata using `@types` packages shipped in an extension

* Use own file system instead of `https`

* JS/TS type support on web

* Tsconfig needs esModuleInterop not module:nodenext

We actually want webpack to emit commonjs, but need to write ES default
imports to use node-maintainer

* fix package.json indentation

* Adding setting to disable web type acquisition

* Fix merge of yarn lock

* Fixing merge errors

* Fixing errors

* Pick up package externally

* Fixing conflicts

* Bump version

---------

Co-authored-by: Kat Marchán <kzm@zkat.tech>
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-08-28 00:49:40 -07:00
Andrew Branch
6c94c8e088 [typescript-language-features] Update autoImportFileExcludePatterns description (#186528)
Update autoImportFileExcludePatterns description
2023-07-14 18:36:38 +00:00
Matt Bierner
42498ee647 Mention tsconfig / jsconfig in 'Go to project configuration' (#184441)
This makes the commands more discoverable
2023-06-06 13:41:54 -07:00
Aiday Marlen Kyzy
81f98eb8fe adding text to better explain the dependence on the AI extension 2023-05-25 15:20:55 +02:00
Aiday Marlen Kyzy
203c911ca0 adding a setting in order to control whether the ai assisted setting is enabled or not 2023-05-24 16:18:04 +02:00
Bhavya U
b0cf9f8e24 Remove temp walkthroughs (#182996) 2023-05-19 15:28:27 -07:00
Matt Bierner
4d59b19b73 Enable project wide JS/TS intellisense on web by default (#182812)
Fixes #170920

Enables this feature by default but also disables semantic errors. This is needed to avoid lots of annoying false positive errors for external modules. We plan to remove this limitation once type downloading support is enabled
2023-05-18 00:06:00 +02:00
Matt Bierner
6a9c24cbd0 Update importModuleSpecifierEnding to mention .ts (#180349)
Makes the `importModuleSpecifierEnding` settings mention that it can include `.js` or `.ts`
2023-04-19 20:43:53 +02:00