Commit graph

459 commits

Author SHA1 Message Date
Martin Aeschlimann b27ee6b7b5
[html/css/json] pass the location of the localization bundle to the server (#168111)
pass the location of the localization bundle to the server
2022-12-05 14:49:27 -08:00
Matt Bierner bf8e26d144
Fix extension private prop mangling when compiling all extensions (#167626)
Fix extension private prop mangling when compiling all projects

#167269

Re-applies previous commit with a fix for html's custom webpack logic
2022-11-29 14:20:23 -08:00
Martin Aeschlimann 4ade07fd67
[json/css/html] update service & dependencies (#167402) 2022-11-28 14:15:33 +00:00
Logan Ramos 73d882bcf7
Update telemetry package (#166292) 2022-11-14 09:30:33 -08:00
Logan Ramos bf1697d98c
Consume proposed telemetry API (#165862)
* Consume proposed telemetry API

* Update webpack
2022-11-08 21:58:28 -05:00
Martin Aeschlimann afac9524b6
[css/json/html] move to l10n (#165725)
[css/json/html] move to l10n (for #164438)
2022-11-08 07:32:38 -08:00
w1redch4d 70328b1b48
fix problems with html style comments in embedded code (#160981)
* fix problems with html style comments in embedded code

* add spacings to the replaced characters

add same amount of characters, in the replacements so that all offsets stays the same

* revert javascriptMode.ts

* add replace characters in embeddedSupport.ts instead

* added few more tests with javascript

more testcases with js code before and after the comments

* polish

Co-authored-by: UwUeeb <106700035+UwUeeb@users.noreply.github.com>
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-10-26 08:41:05 +00:00
Martin Aeschlimann 320f338681
[html] Sytax Highlighting is way off with new line after event handler (#162319) 2022-09-29 12:19:36 +02:00
Martin Aeschlimann 741fa37b10
[json/css/html] update services / deps (#161831) 2022-09-26 12:41:26 -07:00
Martin Aeschlimann 724a088c68
update vscode-uri, fix links in untited (fixes #147788) (#161108) 2022-09-16 07:57:10 -07:00
Martin Aeschlimann 5431050e5f
Use Uri.Utils (#160780)
* Use Uri.Utils

* handle base as folder
2022-09-13 17:46:01 +02:00
Martin Aeschlimann 48d1e04d9d
[css/json/html] update servers and services (#160108) 2022-09-05 19:10:32 +02:00
Tyler James Leonhardt d8453c0440
Rev built-in versions of vscode-nls to 5.1.0 (#157530)
* rev version of vscode-nls to 5.1.0

* and yarn lock
2022-08-08 18:43:45 +02:00
Angelo cef02dae8d
Contribute to html language server with a custom language. (#146731)
* Contribute to html language server with a custom language.

Fixes #146730

Signed-off-by: azerr <azerr@redhat.com>

* refactor out LanguageParticipants

* restart client on language selector change

* htmlLanguage -> htmlLanguageParticipants

* tune autoInsert wording

* tune autoInsert description

Co-authored-by: azerr <azerr@redhat.com>
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-07-21 13:19:01 +02:00
Martin Aeschlimann d0769c7e7f
[html] update service and fix url resolving (#155725) 2022-07-20 14:38:10 +02:00
Logan Ramos a20329d291
Switch extensions to 1DS (#154299)
* Move extensions to 1DS

* Switch extensions to 1DS
2022-07-06 17:18:41 -07:00
Martin Aeschlimann ac74e9d093
[html] unresolved import error in embedded JavaScript (#154261)
[html] unresolved import error in embedded JavaScript #154002
2022-07-06 15:09:06 +02:00
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