Commit graph

490 commits

Author SHA1 Message Date
Martin Aeschlimann 1805df1a11
Validation not working in settings JSON (#151202)
JSON/HTML/CSS update services
2022-06-03 12:45:45 +02:00
Matt Bierner a6724dcc10
Bump default JS target for scripts in html (#150240)
* Bump default JS target for scripts in html

For JS/TS files, we target ES2020 by default. However in html files we're still stuck targetting es6

This change aligns the two

* use es2020.full (includes dom), fix web, avoid searching in node_modules

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-05-25 11:50:44 +02:00
Martin Aeschlimann f1b392ed55 polish names 2022-05-22 20:03:30 +02:00
Martin Aeschlimann 49944b1501 DiagnosticsSupport for json and html 2022-05-22 20:03:30 +02:00
Martin Aeschlimann aacb387ef1 implement diagnostic pull 2022-05-22 20:03:30 +02:00
Martin Aeschlimann e783fdc25e
css/html/json update to lsp 8 (#148715) 2022-05-19 12:48:53 +02:00
Martin Aeschlimann caa463191f
add telemetry event comments and owner (#149070) 2022-05-17 15:20:02 +02:00
Matt Bierner 17ee4c4265
Pick up TS 4.7 for bundling with VS Code 2022-05-02 15:50:42 -07:00
Benjamin Pasero c6bd448948
debt - bring @types/mocha up to date with version 9.x 2022-05-02 08:30:27 +02:00
Martin Aeschlimann 66b9a8a460
update html service 2022-04-25 22:13:15 +02:00
Martin Aeschlimann 7eeb3264c0
update css service 2022-04-25 18:50:02 +02:00
Martin Aeschlimann 8f5b743a0b
[json] Allow "json.validate.enable": false in settings / disable JSON validation or error checking. Fixes #114775 2022-04-12 15:33:25 +02:00
Martin Aeschlimann a0612b2e04
[html] A 'return' statement can only be used within a function body. Fixes #143220 2022-04-04 18:19:29 +02:00
Martin Aeschlimann c7a685113b
Revert "[html] A 'return' statement can only be used within a function body. Fixes #143220"
This reverts commit 56661ec16a.
2022-04-04 18:19:29 +02:00
Martin Aeschlimann 57b812582d
[css] Align formatter setting names. Fixes #145705 2022-03-23 18:26:30 +01:00
Martin Aeschlimann 56661ec16a
[html] A 'return' statement can only be used within a function body. Fixes #143220 2022-03-21 20:27:20 +01:00
Martin Aeschlimann 50c8eb444d
[html, json] update services 2022-03-18 18:04:10 +01:00
Logan Ramos 9b7268acf9
Update telemetry module 2022-03-18 11:34:33 -04:00
Robo 32d40cf44e
chore: update to electron 17 (#143223)
* chore: bump electron@17.0.0

* Revert "chore: revert to electron@13 (#143851)"

This reverts commit df645f1450.

* chore: bump electron@17.1.0

* Revert "ci: fix build with latest node-gyp"

This reverts commit c3e948aa30.

* chore: revert ci changes for node v16

* chore: update yarn.lock

* chore: bump electron@17.1.1
2022-03-11 00:51:37 +09:00
Matt Bierner afa70ebba0
Adopt official semantic tokens api for JS/TS in html (#144223)
* Adopt official semantic tokens api for JS/TS in html

Fixes #114477

This switches the semantic tokens implementation for js/ts inside html to use the finalized `getEncodedSemanticClassifications` api instead of our custom impl

* Update tests
2022-03-02 13:02:43 -08:00
Martin Aeschlimann 4274ec05b8
[html][json] fix some missing dispose registrations 2022-03-02 11:57:20 +01:00
Robo df645f1450
chore: revert to electron@13 (#143851)
* Revert "chore: update to electron 16 (#137241)"

This reverts commit 01df559c18.
This reverts commit 46301339b7

* ci: fix remote compiler for sdl-scan

* chore: fix remote/.yarnrc

* chore: fix build/npm/postinstall.js

* chore: rm crash reporter from shared process

* chore: rm crash reporter from ext host

* chore: fix build/lib/layersChecker.ts

* :chore: preserve some more changes

* fix tests

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-02-24 17:49:49 +01:00
Martin Aeschlimann 6568cf0063
[html] update service 2022-02-22 22:08:30 +01:00
Martin Aeschlimann cfad254348
autoCreateQuotes: Mention attributeDefaultValue 2022-02-22 09:15:59 +01:00
Martin Aeschlimann db9e8fba63 remove unecessary files in build 2022-02-18 20:38:55 +01:00
Martin Aeschlimann b239683e79
update css language service 2022-02-10 16:55:31 +01:00
Robo 01df559c18
chore: update to electron 16 (#137241)
* chore: bump electron@15.3.0

* chore: bump node@16.x

* chore: enable render process reuse

* Revert "watcher - use `type` property for crash reporter location"

This reverts commit bfa488dd8f.

* Revert "watcher - enable crash reports on linux (#136264)"

This reverts commit af261488f8.

* chore: enable crashpad on linux

* chore: bump electron@15.3.1

* chore: update api changes

* chore: bump @vscode/sqlite3@5.0.3

* spec: skip non-context aware module unittests

* chore: fix perf hook integration with node environment

* fix: adopt fs api changes

* chore: fix integration tests

* chore: bump electron@15.3.2

* chore: bump electron@16.0.0

* temp(macOS): kill test instances in OSS

* Revert "temp(macOS): kill test instances in OSS"

This reverts commit b0d796c8d64227a5ec012c060bbbee7d9da27568.

* chore: update chromium version for clang downloader

* some 💄 changes

* align with changes

* adopt more fs.rm

* 💄

* chore: bump @vscode/sqlite3@5.0.4

* fix layers check to account for duplicated types from node.js

* update todo for type casts

* smoke - fix compile issue

* chore: update module cache

* watcher - fix unhandled rejection (fix #137416)

* ci: update node version

* enable stack dumping

* update electron types to 16.x

* chore: bump @vscode/sqlite3@5.0.5

Refs https://github.com/microsoft/vscode/issues/137496

* fix layer issue

* add `AbortSignal` to core types

* chore: update linux compile flags

Refs 797723ec83

* ci: fix linux build

* ci: update github ci cache

* ci: fix remote build in github ci

* ci: better fix for remote build

* chore: bump azure cache

* chore: fix merge conflict

* :chore: update to electron@16.0.2

* chore: bump @vscode/sqlite3@5.0.7

* ci: update to gcc-4.9 for remote

Refs https://github.com/microsoft/vscode/issues/137659

* ci: switch to buster for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: fix build on linux arm64

* ci: fix arm client compiler toolchain

Refs #137927

* chore: bump electron@16.0.3

* ci: fix compile flags for the c toolchain

* chore: bump electron@16.0.4

* Add experimental dark mode flag (#139109)

* Add experimental dark mode flag

* Apply PR feedback

* chore: bump electron@16.0.6

* chore: bump electron@16.0.7

Fixes https://github.com/microsoft/vscode/issues/138792
Fixes https://github.com/microsoft/vscode/issues/139300

* chore: experimental highlight API

* smoke - fix compile issue

* FIXME: custom ELECTRON_RUN_AS_NODE with node worker

* Revert "chore: bump electron@16.0.7"

This reverts commit 5fd01cf37c.

* Revert "Revert "chore: bump electron@16.0.7""

This reverts commit a7f1b73951.

* chore: fix github linux workflow

* chore: address review feedback

* chore: bump electron@16.0.8

* ci: revert to stretch distro for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: force build

* chore: update yarn.lock

* address feedback

* Revert "FIXME: custom ELECTRON_RUN_AS_NODE with node worker"

This reverts commit 7b48fa3732.

* ci: fix remote folder build

* chore: fix github linux ci

* 🆙 `versionSpec`

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com>
2022-02-08 20:09:00 +01:00
Alex Dima 0bf3071972
Fix hygiene 2022-02-04 15:49:50 +01:00
Johannes Rieken 4a130c40ed
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Johannes Rieken 7ccb868835
make sure to use .eslintignore when running yarn eslint, this will ensure that cli failure and editor squiggles are always equal 2022-02-02 12:37:29 +01:00
Martin Aeschlimann d0eaa89a0f
[html/css/json] update services 2022-01-24 23:00:36 +01:00
Logan Ramos c047af40b2
Fix compilation 2022-01-19 16:18:14 -05:00
Logan Ramos b22ee20028
Move to @vscode/extension-telemetry 2022-01-19 15:57:17 -05:00
Logan Ramos 932ab8e485
Update vscode extension telemetry modules 2021-12-28 11:06:48 -05:00
Martin Aeschlimann a832497526
avoid cursor move forward using a snippet cursor 2021-12-14 17:28:58 +01:00
Martin Aeschlimann 1f9d809e35
single AutoInsertRequest message for both autoQuote and autoClose 2021-12-14 16:00:35 +01:00
Martin Aeschlimann 72287bfab6
Merge branch 'main' into pr/jzyrobert/137080 2021-12-14 15:02:00 +01:00
Martin Aeschlimann 2858dd87e7
html: update constants in typescript mode (for #138677) 2021-12-09 14:27:50 +01:00
Robert Jin e6c9ee0796 Update html-language-features to use doQuoteComplete 2021-11-30 17:50:47 +00:00
Martin Aeschlimann 92b20d483e
html custom data: open external uris with openTextDocument. For #135459 2021-11-29 22:21:30 +01:00
Martin Aeschlimann 8c56f0cae8
[json/html/css] update services 2021-11-29 18:12:56 +01:00
Martin Aeschlimann 3d8b5674c7
[html] clean up request service: add CustomDataRequestService #135459 2021-11-29 11:25:21 +01:00
Martin Aeschlimann c67fd6e5cd
Merge pull request #137557 from sijakret/html-language-server/virtual-doc-support
html-language-features: text document provider support for customData.html
2021-11-26 11:52:06 +01:00
Martin Aeschlimann f1455eabed
revert request changes & polish 2021-11-26 11:45:08 +01:00
Jan Kretschmer bb89815cfb use regex, not Uri.parse, to detect custom scheme 2021-11-24 22:07:31 +01:00
Jan Kretschmer 8779aaf2ae use set to store and lookup paths of interest 2021-11-20 00:16:06 +01:00
Johannes Rieken 09c9d4c293
use enabledApiProposals instead of wildcard property, also update compilation units to only include d.ts-files that are needed, https://github.com/microsoft/vscode/issues/131165 2021-11-12 11:05:57 +01:00
Johannes Rieken a4d426a1c2
split vscode.proposed.d.ts into a file per proposal, https://github.com/microsoft/vscode/issues/131165 2021-11-12 09:48:17 +01:00
Johannes Rieken f7ef73720f
Merge branch 'main' into joh/vscode-dts 2021-11-10 15:36:05 +01:00
Martin Aeschlimann 262f25a211
fix description of html.format.wrapAttributesIndentSize. Fixes #136767 2021-11-10 10:20:46 +01:00
Johannes Rieken 68e819043c
use tsconfig.json#include for vscode.d.ts and vscode.proposed.d.ts, enables to remove most ref.d.ts-files 2021-11-09 15:53:35 +01:00
Johannes Rieken 9254a8cd27
move vscode.d.ts and vscode.proposed.d.ts into src/vscode-dts-folder, https://github.com/microsoft/vscode/issues/131165 2021-11-09 15:00:03 +01:00
Logan Ramos 00de6a5f2f
Update telemetry module 2021-11-08 10:00:44 -05:00
Robert Jin 8d78e70f78 Update html-language-features documentation and tasks to yarn 2021-11-05 20:15:01 +00:00
Jan Kretschmer b074018c3e sketch for virtual document support for 2021-11-01 14:50:32 +01:00
Martin Aeschlimann 5e4bc951cd
Hitting return after </button> element crashes VS Code (Insiders). Fixes #135806 2021-10-26 11:55:51 +02:00
Martin Aeschlimann f3a14f6514
[css/html/json] update services 2021-10-25 20:20:44 +02:00
Martin Aeschlimann a78567110c
html: polish reading of settings 2021-10-15 20:11:06 +02:00
Martin Aeschlimann 8d70e049dd
Merge pull request #129284 from ssigwart/noQuotes
Add doNotAddAttributeQuotes setting to disable automatic quotes
2021-10-15 19:56:02 +02:00
Sean McManus ae1bfc57d1
Update package.json
%html.format.wrapAttributesIndentSize.desc% contains markdown text.
2021-10-13 16:48:42 -07:00
Logan Ramos a4342f3add
Bump telemetry module 2021-10-01 16:52:56 -04:00
Martin Aeschlimann ab55b573ea
add tag closing for tsx (for #34484) 2021-09-30 11:17:42 +02:00
Martin Aeschlimann 801dff2f3b
[html] auto close triggers on undo/redo and breaks undo/redo history. Fixes #34484 2021-09-30 11:10:09 +02:00
Stephen Sigwart ba48f5c1f0 Update to match new enum 2021-09-29 23:16:07 -04:00
Stephen Sigwart c5d3ad08f0 Switch to settings.html.completion.attributeDefaultValue 2021-09-29 21:44:16 -04:00
Stephen Sigwart 40b976f056 Add doNotAddAttributeQuotes setting to disable automatic quotes 2021-09-29 21:44:16 -04:00
Martin Aeschlimann e653defeca
[html/css] update services 2021-09-28 17:55:59 +02:00
Martin Aeschlimann e29f8d7d14
[css/html/json] update service 2021-09-27 21:02:20 +02:00
Logan Ramos 282f499c22
Update extension telemetry module 2021-09-23 11:26:57 -04:00
Martin Aeschlimann 5aebde7b48
[html] auto close triggers on undo/redo and breaks undo/redo history. Fixes #34484 2021-09-17 14:35:52 +02:00
Martin Aeschlimann 8af5d85c3b
Merge pull request #132523 from AkatQuas/fix/runner
fix: early return on cancellation
2021-09-09 09:42:04 +02:00
Martin Aeschlimann 9ebc659dc1
[css/html] update language services 2021-09-09 09:36:04 +02:00
AkatQuas e4fb11a1e7 fix: early return on cancellation 2021-09-07 16:28:21 +08:00
AkatQuas 779e587197 fix(html-language-feature): remove vague statement 2021-09-07 11:35:18 +08:00
Logan Ramos 8dbad73de5
Update built in extensions telemetry 2021-08-27 15:45:42 -04:00
Logan Ramos ecc7fdac90
Bump extension telemetry module 2021-08-27 11:29:48 -04:00
Martin Aeschlimann e6a3ae661d
html-language-features CONTRIBUTING.md is wrong. Fixes #129842 2021-08-19 11:50:09 +02:00
Logan Ramos da7d76d2ec
Update extension telemetry module 2021-08-10 12:43:41 -04:00
Logan Ramos 6aa5b9226b
Update extension telemetry module 2021-08-09 13:16:08 -04:00
Matt Bierner dc54347a27
Exclude a few extra build files from build 2021-08-05 13:32:54 -07:00
Logan Ramos 9350fa3c9d
Bump telemetry module to fix packaging 2021-08-02 14:29:37 -04:00
Logan Ramos b7a07daa5a
Fix #129727 2021-08-02 13:04:26 -04:00
Logan Ramos 87e0cb1d43
Fix #129474 2021-07-29 11:39:03 -04:00
Logan Ramos c8e6d08e3a
Update to the latest extension module 2021-07-26 13:44:43 -04:00
Martin Aeschlimann 4feb4fd4d9
[html/css/json] update services 2021-07-25 17:31:20 +02:00
Martin Aeschlimann 7ebe6a6054
adopt web extensions to webpack 5 2021-07-08 21:41:03 +02:00
Martin Aeschlimann 9d4af438a8
[css/html/json] update services 2021-06-28 21:53:21 +02:00
Henning Dieterichs ce5023b635
Merge pull request #124015 from microsoft/hediet/refactor-language-configuration
Refactors calls to languages.setLanguageConfiguration to declarative descriptions in language-configuration.json
2021-06-08 16:19:10 +02:00
Martin Aeschlimann 24e1234559
[json/css/html] update services 2021-05-31 22:06:50 +02:00
Henning Dieterichs a1af8aa651
Refactors calls to languages.setLanguageConfiguration to declarative descriptions in language-configuration.json. This fixes #98621. 2021-05-17 09:12:01 +02:00
Martin Aeschlimann 05d22c6853
[html] duplicated onDocumentRangeFormatting handler (#122994) 2021-05-10 18:09:18 +02:00
Martin Aeschlimann 81643c948f
HTML, CSS, JSON language servers don't provide the documentFormattingProvider capability. Fixes #122994 2021-05-07 17:03:16 +02:00
Logan Ramos 1469a9840f
Update deprecated html language features 2021-05-04 14:03:20 -04:00
Robo bce4d71f64
chore: bump node@14.x in devDependencies (#122905) 2021-05-04 10:04:13 +02:00
Matt Bierner 65c6a0a543
Pick up TS 4.3 nightly
For #122884
2021-05-03 16:15:30 -07:00
Martin Aeschlimann 25d716f900
[html/css/json] update dependencies 2021-04-24 14:52:34 +02:00
Sandeep Somavarapu ac151b40a5
enable virtual workspace capability 2021-04-23 10:20:23 +02:00
SteVen Batten f9fc28d47d update ext manifest schema validation and built-in exts 2021-04-21 11:54:42 -07:00
Benjamin Pasero 14981ce89d tests - enable colors for windows (CI supports it and the new Windows terminal too) 2021-04-19 09:29:20 +02:00
Martin Aeschlimann 8e8621c137 [css/json/html] add workspaceTrust property 2021-04-13 14:26:26 +02:00