Commit Graph

415 Commits

Author SHA1 Message Date
Matt Bierner de7206fad5 Merge branch 'main' into dev/mjbvz/wonderful-piranha 2026-04-19 20:14:50 -04:00
Yogeshwaran C 03dd400cf7 Adopt CodeAction type for built-in css server (#310055)
* Adopt CodeAction type for built-in css server

Remove the now-dead `_css.applyCodeAction` command handler and its
activation event. The CSS server already returns proper `CodeAction`
objects with `edit` via `doCodeActions2`, so the legacy command-based
fallback is no longer reached.

Fixes #237858

* revert package.json change

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2026-04-15 15:52:54 +00:00
Martin Aeschlimann 7b7b8fb9af remove "onCommand:_css.applyCodeAction" (#310092) 2026-04-15 08:59:03 +00:00
Martin Aeschlimann 0204b2d2a6 css/html: use built-in node test framework (#309625)
* css/html: use built-in node test framework

* fix tests and reporter
2026-04-14 11:36:31 +02:00
Martin Aeschlimann 91b02efb23 use ESM for HTML/CSS/JSON language servers (#309566)
* convert html server to esm

* update html language service

* update

* update

* update json

* update css

* update

* update

* update jsonc-parser
2026-04-13 13:51:31 -07:00
Matt Bierner 5e957b6922 Update build ts version 2026-04-08 20:49:29 -07:00
Rob Lourens c065b175fd Add argument parsing, suite filtering, and grep support to integration test scripts (#305837)
* Add argument parsing, suite filtering, and grep support to integration test scripts

- Add --run, --runGlob, --grep, --suite, and --help argument parsing
- --suite selects extension host test suites (comma-separated, glob patterns)
- --grep forwards test name filter to all runners via MOCHA_GREP env var
- Validate --suite filter matches at least one known suite
- Add MOCHA_GREP support to testrunner.js, CSS and HTML test runners
- Seed user settings to suppress dock bounce notifications
- Always apply *.integrationTest.js glob for node.js tests
- Add integration-tests skill documentation

* Address Copilot review feedback

- Quote cd $ROOT, rm -rf $VSCODEUSERDATADIR, rmdir %VSCODEUSERDATADIR%
- Quote --runGlob pattern to prevent premature glob expansion
- Use GREP_ARGS array for safe grep forwarding in .sh
- Use conditional call with proper quoting for grep in .bat
- Deduplicate suite list into KNOWN_SUITES variable
- Remove unused EXTRA_ARGS and ARGS variables from .bat

* Fix Windows CI: remove unnecessary enabledelayedexpansion

The original script used plain 'setlocal'. Adding 'enabledelayedexpansion'
may affect path resolution behavior on Windows CI. Since no delayed
expansion (\!var\!) syntax is used, revert to the original 'setlocal'.

* Fix Windows CI: capture %~dp0 before call :label corrupts it

In Windows batch, 'call :label' can change what %~dp0 resolves to.
Our should_run_suite subroutine uses 'call :should_run_suite', which
caused %~dp0 to resolve to the wrong directory for extension paths
that appear after the subroutine call. Capture the script directory
once at startup into %SCRIPT_DIR% and use it everywhere.
2026-03-28 11:23:37 +11:00
dependabot[bot] a01680ec5c Bump brace-expansion from 5.0.2 to 5.0.5 in /extensions/css-language-features (#305337)
Bump brace-expansion in /extensions/css-language-features

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.2 to 5.0.5.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.2...v5.0.5)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 5.0.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-26 22:42:18 +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 af32b7b329 Revert "Add min-release-age in npmrc files"
This reverts commit a440ae0518.
2026-03-11 10:07:42 -07:00
Matt Bierner a440ae0518 Add min-release-age in npmrc files
For #299632

Not fully enabled unless you're using a recent npm. Next step will be to bump the min node/npm versions for the workspace too
2026-03-10 20:33:07 -07:00
dependabot[bot] 182ee88b48 Bump minimatch from 10.2.2 to 10.2.4 in /extensions/css-language-features (#298308)
Bump minimatch in /extensions/css-language-features

Bumps [minimatch](https://github.com/isaacs/minimatch) from 10.2.2 to 10.2.4.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v10.2.2...v10.2.4)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 10.2.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 18:31:14 +00:00
Martin Aeschlimann 36d424971f [html/css/json] update services (#297113) 2026-02-23 22:17:23 +00:00
dependabot[bot] 022061df71 Bump minimatch from 10.0.3 to 10.2.2 in /extensions/css-language-features (#296798)
Bump minimatch in /extensions/css-language-features

Bumps [minimatch](https://github.com/isaacs/minimatch) from 10.0.3 to 10.2.2.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v10.0.3...v10.2.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 10.2.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-23 15:58:37 +01:00
Matt Bierner cc10bc708e Enable incremental builds to speed up updates after first build 2026-02-19 14:14:37 -08:00
Matt Bierner 39ebcc7f34 Use esbuild instead of webpack to bundle the css extension
Switches from webpack to esbuild to bundle the css extension. Tested this locally in a browser and creating an official build to test the bundled extension still work correctly
2026-02-13 00:05:47 -08:00
Raymond Zhao e987c5242e chore: bump extension versions (#295040) 2026-02-13 04:15:03 +05:00
Raymond Zhao 17f49693b9 Revert "Revert "Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/css-language-features"" (#292870)
Revert "Revert "Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensio…"

This reverts commit f4ce567e5d.
2026-02-04 17:15:22 +00:00
Raymond Zhao f4ce567e5d Revert "Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/css-language-features" (#292712)
Revert "Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/css-l…"

This reverts commit 371cab2e9f.
2026-02-04 01:29:07 +00:00
dependabot[bot] 371cab2e9f Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/css-language-features (#292649)
Bump @isaacs/brace-expansion in /extensions/css-language-features

Bumps @isaacs/brace-expansion from 5.0.0 to 5.0.1.

---
updated-dependencies:
- dependency-name: "@isaacs/brace-expansion"
  dependency-version: 5.0.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-03 20:11:05 +00: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
Martin Aeschlimann 5561fdf4f3 [css/html/json] update services (#280428) 2025-12-01 20:45:13 +00:00
Martin Aeschlimann cee904f80c remove some anys (#271651) 2025-10-16 11:48:38 +02:00
Matt Bierner 162806006a Update a few package-locks for mocha 2025-10-13 11:13:12 -07:00
Matt Bierner 98b069c041 Work towards getting isolated built-in extension compiles
For #271167

This makes it so our built-in extensions can mostly be built using `tsc` on the command line. Previously the extensions were picking up a lot of typing info from the root `node_modules` that meant they weren't truly independent
2025-10-13 11:03:20 -07:00
Matt Bierner 360c9fd134 Add lint rule for as any and bulk ignore all existing breaks
For #269213

This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks

Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
2025-10-02 23:38:33 -07:00
Martin Aeschlimann 153c4c2aa9 [css/html/json] update services (#268964) 2025-09-29 22:00:05 +00:00
Matt Bierner ed71020bfc Convert extension webpack scripts to modules 2025-08-07 17:20:22 -07:00
Matt Bierner 30b93b1217 Bump extensions to target es2024
I reviewed the various changes and library additions of es2024 and it seems they are widely supported across node and modern browsers
2025-08-05 10:40:33 -07:00
Ladislau Szomoru 4d7c56ee82 Engineering - Add GitHub action for pull requests (#254056)
* Test - handle running tests as part of a GitHub action

* Add GitHub action files
2025-07-04 08:21:56 +00:00
Martin Aeschlimann b9558f6405 [css/html/json] update services (#253088) 2025-06-30 23:15:58 +02:00
dependabot[bot] 18cd9f8aac Bump brace-expansion from 2.0.1 to 2.0.2 in /extensions/css-language-features (#251237)
Bump brace-expansion in /extensions/css-language-features

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v2.0.1...v2.0.2)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 2.0.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-30 17:35:27 +02:00
Martin Aeschlimann a74b37c62f [css/json/html] update services (#250307) 2025-06-02 17:48:12 +00:00
Robo 12326f9906 chore: update to Electron 35 (#245423)
* chore: bump electron@35.0.1

* chore: update types/node@22.x

* chore: update web types for node v22.x

* chore: bump electron@35.1.2

* chore: update node.js build

* chore: update app.dock usage

Refs https://github.com/electron/electron/commit/71f3ff6bf289745c74d48cf54c254120a70804b4

* chore: bump electron@35.1.4

* chore: bump electron@35.1.5

* ci: bump sysroot to glibc 2.28 and gcc 10.5.0

* ci: enable timeout for smoketests

* chore: bump min glibcxx to 3.4.26 for server

* Revert "ci: enable timeout for smoketests"

This reverts commit afb637e85d.

* chore: update debian dependencies

* fix: workaround npm.ps1 argument parsing with powershell

* chore: update rpm dependencies

* test: partially revert changes from 242535

* test: remove redudant keybinding dispatch for selectTab

* test: fix test failure from running configured tasks

* test: focus settings editor for preferences.test.ts

* node - adopt compile cache (#246835)

* node - adopt compile cache

* adopt for utility process

* tweaks

* log state of compilation cache

* Revert "log state of compilation cache"

This reverts commit f3840387a583013834762e2c44f6e8424929297f.

* Revert "node - adopt compile cache (#246835)"

This reverts commit 673a00cab66c9bac87f3cd27b80efa41c80150f1.

* chore: update builds

* chore: bump electron@35.2.0

* chore: bump electron@35.2.1

* chore: bump electron@35.2.2

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-05-09 19:03:36 +09:00
Martin Aeschlimann 63acf66b1c [css/html/json] update services (#247404) 2025-04-25 09:28:57 -07:00
Martin Aeschlimann 2d0ca04011 support 'CodeActionContext.only' (#247402) 2025-04-25 09:10:06 -07:00
Martin Aeschlimann e833c72359 update css service (#245688) 2025-04-04 16:29:20 +02: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 c884598a94 Fix a few more type errors for TextDecoder 2025-03-24 16:36:41 -07:00
Martin Aeschlimann b3c8c9f11d [css/html/json] update services (#244509) 2025-03-24 15:32:33 -07:00
Matt Bierner 5d3e35d542 Fix css client ext types 2025-03-24 15:28:37 -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
Benjamin Pasero 419e6aa2f3 debt - remove missing documentPaste proposal (#241019) 2025-02-17 17:02:04 +01:00
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
Martin Aeschlimann 605672003f Erroneous description for setting "CSS Format: Preseve New Lines" (#235864) 2024-12-11 22:09:33 +01:00
Martin Aeschlimann 8713346d2b [css/json/html] update services (#235034) 2024-12-02 22:13:01 +01: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
Martin Aeschlimann fc6d94b806 [css/json/html] adopt latest lsp, update to module: node16 (#230371)
* adopt latest language-server/client

* update package-locks

* transpiler to support Node16
2024-10-03 13:49:56 +02:00
Robo 9494a89080 chore: add npmrc to extensions folder (#230214) 2024-10-01 12:43:01 +02:00