Commit Graph

125 Commits

Author SHA1 Message Date
Martin Aeschlimann
45be8b8f75
[css/json/html] update services (#217364) 2024-06-24 11:47:01 -07:00
Robo
5216c04428
chore: update to electron 29 (#209818)
* chore: update electron@29.1.0

* chore: update typings to 20.x

* chore: bump electron@29.1.5

* ci: fix crash in compiling extensions-ci

* chore: disable .d.ts check for build/

$ ../node_modules/.bin/tsc -p tsconfig.build.json
node_modules/@types/chokidar/index.d.ts:21:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/@types/chokidar/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

21 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
                ~~~~~~~~~

node_modules/chokidar/types/index.d.ts:8:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/chokidar/types/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

8 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
               ~~~~~~~~~

Found 2 errors in 2 files.

Errors  Files
     1  node_modules/@types/chokidar/index.d.ts:21
     1  node_modules/chokidar/types/index.d.ts:8

Refs a0f9e09f64

* chore: update core types

* temp: fix layer validation

* chore: update nodejs checksums

* ci: use latest v20 LTS for missing node-gyp

Refs eacec5f490

* ci: define LIBCPP_HARDENING_MODE

* ci: fix crash in vscode-web-min-ci

* chore: update rpm deps-list

* chore: bump tree-sitter-typescript@0.20.5

* chore: bump electron@29.3.0

* chore: bump electron@29.3.1

* chore: update rpm deps-list for x86_64

* ci: disable io_uring UV backend on linux

* ci: disable io_uring backend for oss as well

* chore: update typings to 20.x

* ci: add TODO for io_uring workaround

* chore: bump distro

* chore: update preinstall node version checks

* chore: update @types/gulp

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

* ci: disable io_uring in more test suites
2024-05-11 01:20:28 +09:00
Martin Aeschlimann
83d2801c6b
[css/json] update services (#211053) 2024-04-23 11:27:29 +02:00
Martin Aeschlimann
0de5c3004f
Revert "[css/json] update services (#210950)" (#210959)
This reverts commit 5b6444d082.
2024-04-22 22:32:32 +02:00
Martin Aeschlimann
5b6444d082
[css/json] update services (#210950) 2024-04-22 12:23:36 -07:00
Martin Aeschlimann
eef0da0b89
update weppack so we can build the latest language client (#208908)
* update weppack so we can build the latest language client

* update webpack types

* update yarn file
2024-04-10 15:19:18 +02:00
RedCMD
212e24f4db
Enable json language support for code-snippets files (#204090)
* Enable json language support for `code-snippets` files

* fix

* snippets as a known language to the json language server

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2024-02-05 15:56:16 +01:00
RedCMD
eee4b5fc50
Contribute to json language server with a custom language. (#198583)
* Contribute to json language server with a custom language.

* Add `snippets` to `"activationEvents"`

* Remove hardcoded `snippets` from `documentSettings`

* Fix wrong variable in `!isEqualSet()`

* Use `extensions.allAcrossExtensionHosts` instead of `extensions.all`

* enable `"enabledApiProposals"` for `extensions.allAcrossExtensionHosts`

* Fix error: `Property 'allAcrossExtensionHosts' does not exist on type 'typeof extensions'`

* Remove `snippets`
2024-01-30 11:10:23 +00:00
Martin Aeschlimann
4b0d700f7a
[json/css/html] Update dependencies (#203084)
* update json/css/html

* fix typing

* revert to vscode-languageclient@9.0.1
2024-01-23 13:00:55 +01:00
Logan Ramos
9bea1fc96a
Bump telemetry package (#197168) 2023-11-01 20:51:03 +01:00
Martin Aeschlimann
e1b62b9b9e
[html/css/json] update language servers (#195157)
* [html/css/json] update language servers

* extension webpack: add conditionNames to prefer import over require
2023-10-11 09:41:12 +02:00
Logan Ramos
cc98e55794
Fix slow telemetry module (#193607) 2023-09-20 20:14:12 +01:00
Aiday Marlen Kyzy
3ea4d66a5b
changing to use code action instead of setting 2023-08-30 18:04:52 +02:00
Martin Aeschlimann
fd4d801227
[css/json/html] update dependencies (#191522) 2023-08-28 23:31:54 +02:00
Robo
ea490e5545
chore: update to Electron 25 (#188268)
* chore: update electron@25.3.0

* ci: update NodeTool version

* chore: update @types/node

* add more common types to layers checker

* chore: update debian dependencies

* chore: update rpm dependencies

* fix: use legacy dns result order of Node.js

* ci: remove deprecated always-auth npm config

Refs npm/cli@72a7eeb

* chore: update deb and rpm dependencies

* chore: update armhf rpm dependencies

* chore: update x64 debian dependencies

* chore: update x64 rpm dependencies

* chore: update electron@25.3.1

* chore: update electron@25.4.0

* chore: bump distro

* chore: bump distro

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-08-07 21:46:27 +09:00
Aiday Marlen Kyzy
9c184b6007
Sort JSONC files on save (#188480)
* adding the initial code for sorting on save setting

* adding code, it is working, but how to get the text editor options

* cleaning the code

* making the callback synchronous, why does waitUntil not work

* removed unwated edit

* previously the check on is text edit instance was throwing an error, now checking manually that it is working

* chaning the return type of `getOptionsForDocument` to udnefined by default

* Convert to TextEdit instances

---------
2023-08-02 03:24:03 -07:00
Martin Aeschlimann
a72e45d069
[json/css/html] update services (#183595) 2023-05-26 22:54:38 +02:00
Martin Aeschlimann
d53381b114
json/css/html: update dependencies (#180714)
* json/css/html: update dependencies

* update services
2023-04-25 12:29:42 +02:00
Martin Aeschlimann
05abefc4cd
[css/json/html] update services and server (#174867) 2023-02-21 07:27:06 +01:00
Aiday Marlen Kyzy
eee87af252
Adding the server and client code to the JSON language features extensions to enable JSONC sorting in VS Code (#174352)
* temporarily changing the funcion onFromat to be able to trigger the sorting on real examples

* adding the DocumentSortingRequest

* accesssing directly the text edits from the request

* added code in order to provide the link between the json sorting capabiliites and vscode

* adapting to the new api output of the sort function

* instead of using await use then inside of the command that registers

* textEditor replaces window.activeTextEditor

* adding changes from review

* update service

* use SortOptions

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-02-17 19:49:05 +01:00
Joyce Er
affa0691f9
Remove redundant activation events (#172062) 2023-02-06 09:38:15 -08:00
Martin Aeschlimann
2472a59bd6
[json/html/css] update dependencies (#172058) 2023-01-23 20:49:20 +01:00
Logan Ramos
8cea434dec
Remove unused proposals (#172035) 2023-01-23 19:09:07 +01:00
Martin Aeschlimann
c88c85c84b
[json/html] Update @vscode/extension-telemetry (#171990) 2023-01-23 15:41:33 +01: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
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
Aiday Marlen Kyzy
47a1f80c65
Adding keepLines feature to the settings (#154790)
* Adding the keepLines feature into the settings so the user can format while keeping the original line positions in json documents

* update service

* update dependencies

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-07-12 09:59:33 +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
Logan Ramos
4a7a6a597a
Update extension telemetry modules (#153057) 2022-06-24 00:53:23 +00:00
Martin Aeschlimann
1805df1a11
Validation not working in settings JSON (#151202)
JSON/HTML/CSS update services
2022-06-03 12:45:45 +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
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
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
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
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
Johannes Rieken
17ed7bf82c
finalize LanguageStatusItem API, https://github.com/microsoft/vscode/issues/129037 2022-02-08 18:50:46 +01:00
Logan Ramos
b22ee20028
Move to @vscode/extension-telemetry 2022-01-19 15:57:17 -05:00
Martin Aeschlimann
873a895208
Update request-light. Fixes #140227 2022-01-07 15:19:40 +01:00
Logan Ramos
932ab8e485
Update vscode extension telemetry modules 2021-12-28 11:06:48 -05:00
Martin Aeschlimann
95a9378519
[json] add 'Clear schema cache' command. Fixes #138524 2021-12-06 16:56:17 +01:00
Martin Aeschlimann
75455fd428 update request-light. Fixes #136267 2021-12-02 15:44:56 +01:00
Martin Aeschlimann
cd0e926097
hide _json.showAssociatedSchemaList command 2021-11-19 10:02:49 +01:00
Martin Aeschlimann
6651f8ab43
[json] Adapt language status indicator. Fixes #137288 2021-11-18 14:46:59 +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