Commit Graph

372 Commits

Author SHA1 Message Date
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
Peng Lyu
c1b0fbbe22
remove console.log (#208474) 2024-03-22 22:56:32 +01:00
Martin Aeschlimann
fb757ca041
[json/html/css] update services (#208443)
* [json/html/css] update services

* use older language client

* older languageclient

---------

Co-authored-by: Logan Ramos <lramos15@gmail.com>
2024-03-22 21:52:12 +01:00
Martin Aeschlimann
45db12eeb2
JSON: filter schema error diagnostics (#207577) 2024-03-13 13:57:08 +01:00
Martin Aeschlimann
8aca9a5331
JSON Language Server output channel appears twice (#206877) 2024-03-05 10:01:55 +01: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
Martin Aeschlimann
851b39876e
[json] don't use md5 (#201971) 2024-01-08 21:50:59 +01:00
Logan Ramos
9bea1fc96a
Bump telemetry package (#197168) 2023-11-01 20:51:03 +01:00
Martin Aeschlimann
b5e4f89462
json.schemas improve setting description (#196071)
json.schemas improve setting description. For #196049)
2023-10-20 10:00:32 +02: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
02ddb145e8
additing translation l10n 2023-09-01 14:10:57 +02:00
Aiday Marlen Kyzy
ab975ebe28
adding also sort and json into the name 2023-08-31 16:02:06 +02:00
Aiday Marlen Kyzy
7069433804
cleaning the code 2023-08-31 15:34:10 +02:00
Aiday Marlen Kyzy
06fdc0a633
unsure how to register the provider 2023-08-31 15:10:14 +02:00
Aiday Marlen Kyzy
fffb813460
adding code 2023-08-31 11:19:33 +02: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
Alpha Romer Coma
7ef754c2f6
Fix supported markdown-lint violations in markdown files (#190750)
docs: fix supported markdownlint violations
2023-08-24 08:37:25 +00:00
Martin Aeschlimann
69b2435e14
set a user agent when attempting to retrieve $schema JSON Schemas (#190726) 2023-08-21 12:14:11 +02:00
Martin Aeschlimann
829932cb62
improve json schema settings descriptions (#190735) 2023-08-21 12:13:51 +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
Raymond Zhao
5be539a588
Bump semver (#187654) 2023-07-12 01:49:45 +02:00
Raymond Zhao
c067a3bf81
chore: bump semver 7 dependencies (#187171) 2023-07-06 20:18:02 +02:00
Martin Aeschlimann
a72e45d069
[json/css/html] update services (#183595) 2023-05-26 22:54:38 +02:00
Martin Aeschlimann
32b8325159
Error while computing completions with snippets (#182007) 2023-05-10 10:14:27 +02:00
Martin Aeschlimann
0af79d4146
[json] update service (#180972) 2023-04-26 22:50:09 +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
2ea2c80d63
[json] schemas in workspace settings also apply to external files (#178010) 2023-03-22 14:57:41 +01:00
Martin Aeschlimann
22c88ab04e
[json] update service (#176306)
[json] update service (for #176296)
2023-03-06 14:07:10 -08:00
Aiday Marlen Kyzy
b9d1118393
increasing the package version of vscode-json-langaugeservice to 5.3.1 2023-02-24 18:12:08 +01:00
Martin Aeschlimann
07d120e10a
schema URI not resolving in workspace file (#175320)
schema URI  not resolve in workspace file
2023-02-24 12:33:59 +01:00
Martin Aeschlimann
8dcf90c7d0
Non-standard capitalization of JSON commands (#175251) 2023-02-23 16:52:44 +01:00
Martin Aeschlimann
400fde0524
relative schema path not resolved properly (#175185) 2023-02-23 00:01:20 +01: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
Martin Aeschlimann
911f119120
generalize limit indicator and use for color decorators (#173730)
* generalize limit indicator and use for color decorators

* remove updateDebounceInfo max
2023-02-08 07:43:29 +01:00
Joyce Er
affa0691f9
Remove redundant activation events (#172062) 2023-02-06 09:38:15 -08:00
Martin Aeschlimann
beea143b43
json server readme wording (#173304) 2023-02-03 06:39:45 -08:00
Martin Aeschlimann
bd9ac7a089
Fix JSON schema configuration in multi root workspaces (#173169)
[json] add folderUri to SchemaAssociation and schema setting
2023-02-02 13:36:41 -08:00
Matt Bierner
d11134fdf8
Make language servers use webworker typings (#172879)
This makes the css, html, and json language  servers to use the `webworker` typings. This lets us avoid having to redeclare `self`
2023-01-31 09:38:48 +01:00
Martin Aeschlimann
49e696c011
web: css language server not working when display language is set (#172430) 2023-01-25 20:19:40 +01:00
Martin Aeschlimann
2472a59bd6
[json/html/css] update dependencies (#172058) 2023-01-23 20:49:20 +01:00