Commit Graph

2113 Commits

Author SHA1 Message Date
Jake Bailey ebfde981ed Merge pull request #321192 from jakebailey/new-corsa-name
Support new TS extension ID in addition to old ID
2026-06-16 07:48:38 -07:00
dileepyavan ca425775e4 Revert "Optimize shared built-in extension dependencies (#318045)" (#319774)
This reverts commit 26e580781a.
2026-06-03 17:21:27 +00:00
Dmitriy Vasyura 26e580781a Optimize shared built-in extension dependencies (#318045) 2026-06-03 08:49:40 +00:00
Robo 8748be1f1a feat: update to Electron v42 (#316661)
* feat: update to Electron v42

* chore: drop support for arm 32-bit server

* chore: update types/node to v24.x

* chore: temporarily lock the target version for build/

* chore: update v8-source-location.patch

* chore: fix clippy

* chore: cleanup armhf server ci config

* fix: broken lock file

* fix: c++ version requirement for sysroot builds

* fix: msvc compilation of native modules

* fix: handle rejections for fire-and-forget loadurl

* fix: windows build

* ci: fix teardown of daemon process on windows

```
2026-05-15T20:55:09.7717127Z Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file src\win\async.c, line 76
```

* chore: update deb and rpm dependencies

* chore: update version info

* spec: improve reliablity of offscreencanvas tests

* spec: retry EPERM failures on teardown

* chore: update x86_64 rpm deps

* ci: exclude server binskim for armhf

* temp: bump distro

* test: ignore deprecation warnings treated as errors

* chore: update lockfile

* fix: externalize electron from auth extension bundles

 Error: Cannot find module 'c:\Users\cloudtest\AppData\Local\Temp\vscode-sanityQvCaze\vscode-server-win32-x64-web\extensions\github-authentication\dist\install.js'
     at Module._resolveFilename (node:internal/modules/cjs/loader:1476:15)
     at wrapResolveFilename (node:internal/modules/cjs/loader:1049:27)
     at defaultResolveImplForCJSLoading (node:internal/modules/cjs/loader:1073:10)
     at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1094:12)
     at Module._load (node:internal/modules/cjs/loader:1262:25)
     at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
     at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
     at node:internal/main/run_main_module:33:47 {
   code: 'MODULE_NOT_FOUND',
   requireStack: []
 }

 Node.js v24.15.0

* test: make wsl sanity tests reliable

* chore: bump electron@42.1.0

* temp: bump distro

* chore: bump electron@42.2.0

* chore: bump distro

* chore: update debian dependencies

* Revert "test: make wsl sanity tests reliable"

This reverts commit b3f2b63e83.

* test: do not fail for deprecation warnings

* chore: patch node24 server binary for wsl1

* chore: address review feedback

* chore: revert global navigation error handler in browserview

* chore: bump distro
2026-05-27 14:57:41 +02:00
dependabot[bot] b07c6b33e2 build(deps): bump @nevware21/ts-utils from 0.11.6 to 0.14.0 in /extensions/typescript-language-features (#318141)
build(deps): bump @nevware21/ts-utils

Bumps [@nevware21/ts-utils](https://github.com/nevware21/ts-utils) from 0.11.6 to 0.14.0.
- [Release notes](https://github.com/nevware21/ts-utils/releases)
- [Changelog](https://github.com/nevware21/ts-utils/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nevware21/ts-utils/compare/0.11.6...0.14.0)

---
updated-dependencies:
- dependency-name: "@nevware21/ts-utils"
  dependency-version: 0.14.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-26 17:12:02 +00:00
Matt Bierner 8ff11209da Only surface "sort imports" and "remove unused imports" when TS client is running/useTsgo is not active
Fixes #317413
2026-05-20 16:36:45 -07:00
Matt Bierner 4d8a4fdb18 Fix a few simple anys in extensions 2026-05-19 15:38:59 -07:00
Tobias Hernstig c045dd8b8c fix: keep typescript.tsdk.desc as source of truth
It means localization will be kept intact.
2026-05-09 13:39:48 +02:00
Tobias Hernstig 781806cd51 Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-08 16:44:33 +02:00
Tobias Hernstig 967ee28b16 fix: replace typescript.tsdk.desc with new js/ts.tsdk.path
The configuration "js/ts.tsdk.path" has an incorrect description, as it referenced the
deprecated "typescript.tsdk" description.
2026-05-08 16:20:16 +02:00
Matt Bierner d9f2b9479f Add one time prompt to try ts 7.0 if you have ts nightly installed
Fixes #311966

Co-authored-by: Copilot <copilot@github.com>
2026-04-22 12:32:12 -07:00
Robo 102df5b59f ci: fix universal build post tsgo transition (#311889) 2026-04-22 11:25:25 +00:00
Jake Bailey dccd12b0a1 Restrict autoImportSpecifierExcludeRegexes to trusted workspaces 2026-04-16 17:18:22 -07:00
Matt Bierner 602bc5a588 Override ts implicit project defaults explicitly
Fixes https://github.com/microsoft/vscode/issues/308559
2026-04-09 16:08:23 -07:00
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