Commit Graph

556 Commits

Author SHA1 Message Date
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
Yogeshwaran C
7466d76783 fix: modernize HTML sample snippet (#304818)
Update the built-in HTML sample snippet to follow current web standards
and reduce unnecessary boilerplate:

- Add lang attribute to <html> tag as first tab stop (W3C recommended)
- Remove outdated IE compatibility meta tag (IE is no longer supported)
- Remove unnecessary type='text/css' and media='screen' from <link>
  (default values in HTML5)
- Remove <script> tag (modern templates often handle scripts differently)
- Move viewport meta before title (following common convention)

Fixes #272331

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2026-03-27 10:25:15 -07:00
dependabot[bot]
b04a4405e9 Bump brace-expansion from 5.0.3 to 5.0.5 in /extensions/html-language-features (#305338)
Bump brace-expansion in /extensions/html-language-features

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.3 to 5.0.5.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.3...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:46:17 +00: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
Matt Bierner
ffc4f9dcb3 Reapply 8e445caeff
Switching to a slightly older postcss version to avoid the official build issue
2026-03-03 10:57:52 -08:00
Matt Bierner
8e445caeff Revert "Remove remaining webpack references for building extensions"
This reverts commit 3d7cf10fd1.
2026-03-02 22:42:15 -08:00
Matt Bierner
3d7cf10fd1 Remove remaining webpack references for building extensions
All extensions now should be fully ported over to use esbuild instead of webpack
2026-03-02 15:07:39 -08:00
dependabot[bot]
7b33d47baf Bump minimatch from 10.0.3 to 10.2.4 in /extensions/html-language-features (#298010)
Bump minimatch in /extensions/html-language-features

Bumps [minimatch](https://github.com/isaacs/minimatch) from 10.0.3 to 10.2.4.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v10.0.3...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-26 15:48:01 -08:00
Martin Aeschlimann
36d424971f [html/css/json] update services (#297113) 2026-02-23 22:17:23 +00:00
Matt Bierner
70008ff4fd Use import.resolve to get ts location 2026-02-19 00:52:54 -08:00
Matt Bierner
d9c2e38931 Update extensions/html-language-features/esbuild.mts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-19 00:48:16 -08:00
Matt Bierner
d36696b482 Esbuild the html and json extensions
Switches from webpack to esbuild
2026-02-19 00:33:01 -08:00
Matt Bierner
2fedd2e043 Adopt esbuild for a few more extensions
- extension-editing
- terminal-suggest
- tunnel-forwarding
- php language features
2026-02-18 15:20:02 -08:00
Raymond Zhao
e987c5242e chore: bump extension versions (#295040) 2026-02-13 04:15:03 +05:00
Raymond Zhao
79e7736400 Revert "Revert "Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/html-language-features"" (#292872)
Revert "Revert "Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensio…"

This reverts commit f0a58da7a9.
2026-02-04 18:15:09 +00:00
Raymond Zhao
f0a58da7a9 Revert "Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/html-language-features" (#292714)
Revert "Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/html-…"

This reverts commit b9e4c0b6f3.
2026-02-03 17:12:53 -08:00
dependabot[bot]
b9e4c0b6f3 Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 in /extensions/html-language-features (#292656)
Bump @isaacs/brace-expansion in /extensions/html-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:22:19 +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
Giovanni Magliocchetti
00673479b7 html: add setting to disable end tag suggestions (#269605)
Add html.suggest.hideEndTagSuggestions setting to allow users to
disable automatic end tag completion suggestions.

When enabled, prevents the completion provider from suggesting
closing tags for open elements (e.g., </body> when typing after <body>).

Fixes microsoft/vscode-html-languageservice#216

Signed-off-by: Giovanni Magliocchetti <giovimag123@gmail.com>
2025-10-21 19:24:16 +02: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
dependabot[bot]
d254a1f44a Bump brace-expansion from 2.0.1 to 2.0.2 in /extensions/html-language-features (#256141)
Bump brace-expansion in /extensions/html-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-08-08 13:46:20 -07: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
Martin Aeschlimann
dc3a870478 Unresolved setting id in html setting (#248220) 2025-06-03 08:26:07 +00:00
Martin Aeschlimann
a74b37c62f [css/json/html] update services (#250307) 2025-06-02 17:48:12 +00:00
Martin Aeschlimann
27c3a8b588 html client: switch to LogOutputChannel (#248706) 2025-05-12 13:02:26 +02: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 71f3ff6bf2

* 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
d9951c029e [html] JavaScript IntelliSense in <script type=module> HTML without quotes breaks (#247405) 2025-04-29 14:32:54 +00:00
Martin Aeschlimann
63acf66b1c [css/html/json] update services (#247404) 2025-04-25 09:28:57 -07:00
Martin Aeschlimann
d15f6eee9b Merge pull request #244074 from nknguyenhc/goto-html
Goto definition for built-in symbols in HTML script
2025-04-10 16:50:55 +02:00
Martin Aeschlimann
165c1094cd polish 2025-04-10 11:24:30 +02: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
nknguyenhc
618a091f90 Remove sending of extension URI 2025-03-28 23:00:30 +08:00
nknguyenhc
4baf61eeb2 Add reading library files to HTML server 2025-03-28 22:48:10 +08: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
8225b496b1 Updating @types/node
Needs some minor code changes too to support the new typings
2025-03-24 13:02:28 -07:00
nknguyenhc
c1da035939 Some error handling 2025-03-22 00:53:20 +08:00
nknguyenhc
c8c2281cba Handle libs on web 2025-03-22 00:47:25 +08:00
nknguyenhc
f2ea517495 Move function to javascriptLib 2025-03-21 19:02:12 +08:00