Commit Graph

188 Commits

Author SHA1 Message Date
Megan Rogge
b245d3d16c add tsgo watcher (#276751) 2025-11-11 17:35:52 +00:00
Matt Bierner
c099047be6 Update tests and small tweaks 2025-10-15 00:40:11 -07:00
ritesh006
cd5348abcd ts-codelens: implementations for overrides + test 2025-10-11 10:49:03 +05:30
copilot-swe-agent[bot]
822232673f Add js/ts.implicitProjectConfig.strict setting for implicit projects
- Add strict property to ImplicitProjectConfiguration class
- Update inferredProjectCompilerOptions to handle strict setting
- Add configuration setting to package.json with default true
- Add localization string for the new setting
- Create unit tests for the new functionality

This enables strict mode by default in implicit JS/TS projects, aligning with TS 6.0.

Co-authored-by: mjbvz <12821956+mjbvz@users.noreply.github.com>
2025-08-14 00:35:19 +00:00
Matt Bierner
7094490c32 Remove expandable hover setting
Seems like there's no downside in keeping this enabled by default for everyone
2025-07-23 12:37:03 -07:00
Gabriela Araujo Britto
3b6f73a45e Merge branch 'main' into hoverlimit 2025-05-07 11:35:35 -07:00
Gabriela Araujo Britto
56e2f3c5c4 refactor config path 2025-05-07 11:31:47 -07:00
Matt Bierner
8067943119 Remove a few deprecated settings for js/ts
These settings have been marked deprecated for a while
2025-05-07 10:24:23 -07:00
Gabriela Araujo Britto
7a1d5016f8 add maximum hover length 2025-05-05 13:57:09 -07:00
Matt Bierner
d0ef6aa62a Create settings section for inlay hints
When I split out these, I forgot to include inlay hints too
2025-05-01 13:26:22 -07:00
Matt Bierner
5a441fa442 Merge pull request #245713 from Victuracor/main
Fix a typo in extensions/typescript-language-features/package.nls.json
2025-04-30 08:51:01 -07:00
Matt Bierner
0b8acee845 Merge pull request #246858 from andrewbranch/tsgo
Allow disabling built-in TS/JS extension in favor of tsgo
2025-04-29 15:36:52 -07:00
Matt Bierner
9531a49287 Merge branch 'main' into main 2025-04-28 14:18:24 -07:00
Matt Bierner
542104e66d Reorganize js/ts groupings
Previously I split these up by js and ts. This ends up creating too many group and having the js and ts settings too far from each other

This PR changes the settings to be grouped only by feature, not language
2025-04-28 13:16:30 -07:00
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
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
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
Victuracor
2fe41861af Fix a typo in package.nls.json 2025-04-04 13:01:07 -05: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