Commit Graph

61 Commits

Author SHA1 Message Date
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
4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Martin Aeschlimann
95a9378519 [json] add 'Clear schema cache' command. Fixes #138524 2021-12-06 16:56:17 +01:00
Martin Aeschlimann
6123d781cb [json] use uri helpers 2021-11-19 22:27:02 +01:00
Martin Aeschlimann
6651f8ab43 [json] Adapt language status indicator. Fixes #137288 2021-11-18 14:46:59 +01:00
Martin Aeschlimann
9f1e991680 [json] update diagnostics when schema changes. Fixes #137309 2021-11-17 16:14:52 +01:00
AkatQuas
e4fb11a1e7 fix: early return on cancellation 2021-09-07 16:28:21 +08:00
Martin Aeschlimann
7ebe6a6054 adopt web extensions to webpack 5 2021-07-08 21:41:03 +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
Martin Aeschlimann
a22b5d54ad [json/css/html] adopt lsp 316 2020-12-14 18:18:58 +01:00
Martin Aeschlimann
1c2005331c [json] use links for $ref, not goto definition (fixes #101474) 2020-11-03 22:30:39 +01:00
Cameron Little
7cf15b2d31 Fix crash in LSP servers when initializationOptions are not provided 2020-09-30 09:01:49 +02:00
Rafał Chłodnicki
896dc31762 [json-language-features] Fix json/schemaAssociations parameters documentation
The `json/schemaAssociations` documentation is not accurate in stating
that the only supported parameter is an object in `{ pattern: uri }`
format. It also supports the structure defined by `SchemaConfiguration`
interface from "vscode-json-languageservice".

Also updated the server code to match that.

Resolves #106060
2020-09-03 19:57:02 +02:00
Martin Aeschlimann
4c030c46d4 [json] run serverless 2020-06-11 18:32:24 +02:00
Martin Aeschlimann
4a3bd05497 [json] Go to definition for $ref. Fixes #69411 2020-04-27 22:30:58 +02:00
Martin Aeschlimann
785eb0872a jsonValidation takes an array for fileMatch 2020-03-06 16:31:48 +01:00
Martin Aeschlimann
40cd953770 Turn off JSON item resolving. Fixes #91747 2020-02-28 11:47:10 +01:00
Martin Aeschlimann
cfc07ec7aa [json] "Format document" on a large JSON file adds extra bracket Fixes #91125 2020-02-21 09:36:54 +01:00
Martin Aeschlimann
e95476a2c1 JSON validation debounced too much. Fixes #89524 2020-02-04 21:59:30 +01:00
Martin Aeschlimann
ce31ace9d9 [json] avoid too many deltas (#79014) & update dependencies 2020-01-22 15:51:39 +01:00
Martin Aeschlimann
1ce943831d [json] mention setting to change limit 2019-12-04 15:57:54 +01:00
Martin Aeschlimann
fd6d7489a8 [json] adopt TextDocuments and use incremental sync 2019-11-05 22:19:43 +01:00
Martin Aeschlimann
3a5209ec64 [json] file schema loaded on client instead of server. Fixes #83515 2019-10-31 12:43:33 +01:00
Martin Aeschlimann
4bdb7355f7 [json] fix azure telemetry 2019-10-31 12:43:33 +01:00
Martin Aeschlimann
223076ac54 [json] support result limits 2019-10-28 20:23:16 +01:00
Martin Aeschlimann
ddcdb9dd66 json: provideFormatter fix 2019-10-02 12:14:01 +02:00
Martin Aeschlimann
78a6b2d72f #81592 again 2019-09-30 14:51:26 +02:00
Martin Aeschlimann
078acb7872 JSON formatting often fails at first. Fixes #71652 2019-09-30 12:25:57 +02:00
Martin Aeschlimann
3259fbf267 [json] Use textDocument.rangeFormatting.dynamicRegistration instead of workspace.symbol.dynamicRegistration? #81592 2019-09-30 09:23:23 +02:00
Martin Aeschlimann
a7def72d9e trailing commas only for setting files 2019-08-29 13:19:03 +02:00
Martin Aeschlimann
980ad1ce09 [josn] use latest ClientCapabilities 2019-07-29 09:29:33 +02:00
Martin Aeschlimann
81380bb822 register selectionRangeProviders 2019-07-25 18:33:18 +02:00
Martin Aeschlimann
bd57ca7066 Expand Selection not working as intended. Fixes #77194. Fixes #77087 2019-07-18 13:57:51 +02:00
Martin Aeschlimann
4ed70122f8 remove imports 2019-07-08 12:44:50 +02:00
Martin Aeschlimann
aa38607483 incremental text documents cause perf isssues 2019-07-08 12:44:40 +02:00
Martin Aeschlimann
a84c30184c [css/json/html] update lsp, services & dependencies 2019-06-13 10:27:45 +02:00
Martin Aeschlimann
6286055c48 Extensions: jsonValidation json schema urls should support self-registered schemes. Fixes #67189 2019-02-22 17:32:09 +01:00
Martin Aeschlimann
64797345c1 json: multiple selection ranges 2019-02-13 16:36:30 +01:00
Martin Aeschlimann
21585312c2 [json] enable semantic selection 2019-01-28 16:05:18 +01:00
Matt Bierner
5cc00861fc Enable no-var-keyword tslint rule 2019-01-03 18:02:48 -08:00
Rob Lourens
ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
Literallie
54f4967761 Refactor SchemaRetryNotification to ForceValidateRequest
Now returns the new diagnostics.

Also, actually refresh the schemas instead of just revalidating the
documents. It worked only sometimes before.
2018-10-11 22:06:48 +02:00
Literallie
7814f38222 Add SchemaRetry notification to jsonServerMain 2018-10-11 00:16:52 +02:00
Matt Bierner
92a9a07213 Remove duplicate blank lines at the start of some extension src files 2018-10-02 16:28:19 -07:00
Matt Bierner
ff957050db Remove use strict in extensions (part 2)
We compile using alwaysStrict so this directive is not needed
2018-10-02 16:23:27 -07:00
Matt Bierner
c050c96b97 Update json server to use shared tsconfig 2018-10-02 10:24:20 -07:00
Martin Aeschlimann
a75f4bcf4e [json] update service (fixes #59470) 2018-09-27 16:33:19 +02:00
Martin Aeschlimann
1b38a64602 [json] update service (fixes #58956) 2018-09-20 12:37:25 +02:00
Martin Aeschlimann
8229aed327 [json] update service. Fixes #53605 2018-08-14 19:43:31 +02:00