Commit graph

442 commits

Author SHA1 Message Date
Martin Aeschlimann 630809a1ea
html: observe insertFinalNewline (#152446) 2022-06-17 12:38:36 +02:00
Johannes 0656d21d11
auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
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