Commit Graph

2099 Commits

Author SHA1 Message Date
yogeshwaran-c
ef6d5f314e fix: send user preferences to TS server even without visible editor
When ensureConfigurationForDocument is called and no visible text editor
is found for the document, getFormattingOptions returns undefined and
the method returns early without sending any configuration including
user preferences like preferTypeOnlyAutoImports to the TS server.

This causes source.addMissingImports to ignore the user's
preferTypeOnlyAutoImports setting.

Fix by falling back to undefined formatting options when no visible
editor is found, ensuring user preferences are always sent.

Closes #272479
2026-03-26 06:45:15 +05:30
Logan Ramos
c0f95d9bb1 Fix GDPR comment conflict (#303201) 2026-03-19 14:18:38 +00:00
Matt Bierner
5ca0ea581f Use markdownDescription for a few more settings
Let's us use inline code elements on these
2026-03-13 11:35:58 -07:00
Matt Bierner
e9b82791e6 Commit other npmrc files 2026-03-10 20:56:09 -07:00
copilot-swe-agent[bot]
002eadd84c fix: correct deprecated TypeScript format.enable setting name in tooltip
Co-authored-by: mjbvz <12821956+mjbvz@users.noreply.github.com>
2026-03-05 21:52:35 +00:00
deepak1556
f6da4b4e1a fix: add graceful shutdown path when heapprofile is enabled 2026-03-04 13:08:01 +09:00
deepak1556
92de3b63d5 chore: apply feedback 2026-03-04 01:59:57 +09:00
deepak1556
278032fc75 feat: support heap profile and snapshot capture for tsserver 2026-03-04 01:36:10 +09:00
Matt Bierner
c100c1fd24 Align js/ts.suggest.completeJSDocs with other names
Fixes #298734

Aligning this to use the id `js/ts.suggest.jsdoc.enabled` because we have another setting in the `#js/ts.suggest.jsdoc.*` scope
2026-03-02 08:26:55 -08:00
Matt Bierner
136e80015a Merge pull request #297513 from mjbvz/dev/mjbvz/competitive-aardvark
Align js/ts extension name
2026-02-24 17:11:56 -08:00
Matt Bierner
8979069f1d Align js/ts extension name
Fixes #297310

Matches the new setting scope as well as the terms we often use in product
2026-02-24 14:23:04 -08:00
Matt Bierner
6c446ea94e Support old settings too for now 2026-02-24 12:55:16 -08:00
copilot-swe-agent[bot]
679854a7c5 Update package.json to reference new unified setting name config.js/ts.experimental.useTsgo
Co-authored-by: mjbvz <12821956+mjbvz@users.noreply.github.com>
2026-02-24 19:35:24 +00:00
Matt Bierner
3fd6059046 Remove unused 2026-02-23 11:26:21 -08:00
Matt Bierner
11a5279976 Switch remaining settings to use js/ts prefix
For #292934

Also renames some of the server settings to have a more consistent naming scheme. This is going to be annoying but is the best time to do this since we are already changing the full setting id
2026-02-23 11:20:52 -08:00
Matt Bierner
000d29cc4e Add helper class to work with js/ts unified configs
For #292934
2026-02-22 23:33:29 -08:00
Matt Bierner
2a0ce9055c Update extensions/typescript-language-features/src/tsServer/bufferSyncSupport.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-20 18:03:03 -08:00
Matt Bierner
851ed34c13 Fix ref 2026-02-20 17:55:27 -08:00
Matt Bierner
655ce6f07e Adopt unified js/ts setting for diagnostic settings
For #292934

Also renames validate.enable to `validate.enabled` to align with other settings
2026-02-20 17:54:24 -08:00
Matt Bierner
cf4d60558a Fix missing % 2026-02-20 16:49:49 -08:00
Matt Bierner
23a013aaee Better grouping of js/ts settings 2026-02-20 16:44:52 -08:00
Matt Bierner
4cafdff96e Merge pull request #296222 from mjbvz/dev/mjbvz/robust-goat
Disallow dynamic require/import in extensions
2026-02-19 14:15:42 -08:00
Matt Bierner
2d698cf054 Disallow dynamic require/import in extensions
Follow up on https://github.com/microsoft/vscode/pull/296220

Let's make sure more code doesn't introduce this pattern without some thought
2026-02-19 00:00:24 -08:00
Matt Bierner
577d1def05 Add tsconfig 2026-02-18 22:00:22 -08:00
Matt Bierner
6be6f0bfa2 Fix loading of wasm
We expect it to be loaded as a datauri
2026-02-18 21:58:41 -08:00
Matt Bierner
eddede8c81 Esbuild the ts extension 2026-02-18 17:11:54 -08:00
Matt Bierner
840c39d319 Merge pull request #296137 from mjbvz/dev/mjbvz/criminal-capybara
Adopt unified js/ts setting for a few more language settings
2026-02-18 15:57:57 -08:00
Matt Bierner
eeb0e12bed Adopt unified js/ts setting for a few more language settings
For #292934
2026-02-18 15:38:04 -08:00
Matt Bierner
19007fb635 Remove workaround for Microsoft/TypeScript#59831
This has been fixed for a while. We want to avoid having to shim out `os` for browser builds
2026-02-18 15:22:46 -08:00
Matt Bierner
8f2f873054 Mark more settings as language overridable 2026-02-18 07:53:14 -08:00
Matt Bierner
cd0e3f3485 Fixing scopes 2026-02-18 07:45:46 -08:00
Matt Bierner
3f8fc43e23 Use standard setting name and fix check 2026-02-17 16:56:50 -08:00
Matt Bierner
2a2f6407e4 Adopt unified js/ts setting for format settings
For #292934
2026-02-17 13:05:55 -08:00
Matt Bierner
5ded895db4 Adopt unified js/ts setting for preferences
For #292934
2026-02-13 15:33:01 -08:00
Matt Bierner
1ca69349dd Merge pull request #295055 from mjbvz/dev/mjbvz/mighty-horse
Adopt unified js/ts setting for suggest
2026-02-12 15:27:11 -08:00
Raymond Zhao
e987c5242e chore: bump extension versions (#295040) 2026-02-13 04:15:03 +05:00
Matt Bierner
dfc43c73a6 Adopt unified js/ts setting for suggest
Fixes #292934
2026-02-12 15:07:36 -08:00
Matt Bierner
7566dfb857 Switch to unified js/ts settings for inlay hints
For #292934
2026-02-11 17:12:25 -08:00
Matt Bierner
f60e8ae4b3 Improve js/ts code lens settings descriptions
For #292934

Adding some links and removing extra keywords
2026-02-11 11:54:32 -08:00
Matt Bierner
0493189e18 Start adopting unified js/ts config for code lenses
For #292934

Testing this with a self contained area first: code lenses. Will keep support for the old setting values too to avoid breaking existing settings
2026-02-10 16:14:49 -08:00
Matt Bierner
cfbd57afa6 Remove region diagnostics setting
Part of #292934

This is an implementation detail. Was only really added in 5.6 in case the new behavior caused issues. Should be safe to remove now
2026-02-04 14:44:40 -08:00
Matt Bierner
ee01088b74 Update roots 2026-01-30 13:12:58 -08:00
Matt Bierner
0d9a2ef2b0 Add explicit rootDirs 2026-01-30 11:07:53 -08:00
Davlatjon Sh
ec58a40580 fix(typescript): tsserver.useSyntacServer.always description
This change adds important note about TypeScript behavior when setting this setting

Related issues:
- https://github.com/microsoft/vscode/issues/160078
- https://github.com/microsoft/vscode/issues/159071
2026-01-08 09:00:46 +05:00
Matt Bierner
b5be18e85d Merge pull request #280207 from mjbvz/dev/mjbvz/developing-mammal
Add native preview TS version pick option
2025-11-30 18:03:34 -08:00
Matt Bierner
1d5b9b5cd2 Add native preview TS version pick option
Fixes #280206
2025-11-30 17:43:52 -08:00
Matt Bierner
dd5c1e4656 Fix tests 2025-11-25 11:22:33 -08:00
Matt Bierner
22ce98c190 Add title for jsdoc symbol links
Fixes #279417
2025-11-25 10:58:36 -08:00
Matt Bierner
9dfb647be4 Still register tsconfig features with tsgo
For https://github.com/microsoft/typescript-go/issues/2153
2025-11-24 08:42:36 -08:00
Tyler James Leonhardt
8711dcb9da Fix offending l10n.t call and add an eslint rule to prevent it from happening (#277577)
ref https://github.com/microsoft/vscode/issues/277576
2025-11-14 18:13:03 -08:00