Commit Graph

109 Commits

Author SHA1 Message Date
Martin Aeschlimann
2ea2c80d63 [json] schemas in workspace settings also apply to external files (#178010) 2023-03-22 14:57:41 +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
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
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
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
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
David Dossett
2da60fd58b Update quick pick placeholders and/or remove titles (#165267) 2022-11-02 15:43:18 -07:00
Martin Aeschlimann
c83eff40dd Remove too many folding regions notification (#163854)
* Remove too many folding regions notification

* remove duplicate folding limit item for JSON/JSONC

* polish

* fix test
2022-10-17 14:42:02 -07: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
Martin Aeschlimann
b3cc787d78 [json] use language indicator for folding limit warnings (#153104)
* reduce number of json notifications

* use language indicator for folding limit warnings. For #142496

* add comment for resultLimit + 1
2022-06-24 15:01:02 +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
Martin Aeschlimann
3698a0b247 polish json schema language info 2022-04-04 16:17:49 +02:00
Martin Aeschlimann
27729fb7c6 JSON language status isn't "pin friendly". Fixes #146561 2022-04-04 11:30:41 +02:00
João Moreno
b390ac286b OK 2022-03-21 09:30:09 +01:00
Martin Aeschlimann
4274ec05b8 [html][json] fix some missing dispose registrations 2022-03-02 11:57:20 +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
Logan Ramos
c047af40b2 Fix compilation 2022-01-19 16:18:14 -05:00
Martin Aeschlimann
95a9378519 [json] add 'Clear schema cache' command. Fixes #138524 2021-12-06 16:56:17 +01:00
Martin Aeschlimann
cd34f23699 improve json cache log messages (for #101050) 2021-11-29 23:28:48 +01:00
Martin Aeschlimann
d159ea189b improve json language indicator 2021-11-22 17:22:42 +01:00
Martin Aeschlimann
6123d781cb [json] use uri helpers 2021-11-19 22:27:02 +01:00
Martin Aeschlimann
f13f5832fd [json] when downloading JSON Schema files, do Conditional GETs. Fixes #101050 2021-11-19 22:06:54 +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
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
Johannes Rieken
68e819043c use tsconfig.json#include for vscode.d.ts and vscode.proposed.d.ts, enables to remove most ref.d.ts-files 2021-11-09 15:53:35 +01:00
Johannes Rieken
9254a8cd27 move vscode.d.ts and vscode.proposed.d.ts into src/vscode-dts-folder, https://github.com/microsoft/vscode/issues/131165 2021-11-09 15:00:03 +01:00
Martin Aeschlimann
7aaa2474eb JSON Schema validation https failed without details. Fixes #127769 2021-10-08 12:03:03 +02:00
Henning Dieterichs
feed53b813 Merge branch 'main' into hediet/refactor-language-configuration 2021-05-31 19:40:48 +02:00
Benjamin Pasero
159479eb5a Allow to show status bar entries with an id and name (fix #74972) 2021-05-19 14:03:37 +02:00
Henning Dieterichs
a1af8aa651 Refactors calls to languages.setLanguageConfiguration to declarative descriptions in language-configuration.json. This fixes #98621. 2021-05-17 09:12:01 +02:00
Matt Bierner
119581fc2a Use more standard name for shared extension tsconfig
This enables Intellisense in the `tsconfig.base` file
2021-04-12 15:58:38 -07:00
Martin Aeschlimann
a22b5d54ad [json/css/html] adopt lsp 316 2020-12-14 18:18:58 +01:00
Martin Aeschlimann
ec13471816 [json] Inconsistency between files.insertFinalNewline and Format Document. Fixes #17359 2020-11-30 23:07:24 +01:00
Martin Aeschlimann
1a6d7f3118 [json] performance warning message can't be ignored. Fixes #105988 2020-11-27 17:24:02 +01:00
Martin Aeschlimann
e3a79e9e44 [css/html/json] Randomize inspect ports to avoid conflicts 2020-11-04 16:03:27 +01:00
Martin Aeschlimann
0211038211 [json] increase rangeFormatting editLimit to 10000 (for #97138) 2020-10-15 15:37:51 +02:00
Johannes Rieken
5b8aeeb1f0 copy paste is hard... 2020-08-28 15:00:52 +02:00
Johannes Rieken
bc3b0defe0 use extensionUri and joinPath instead of asAbsolutePath 2020-08-28 14:57:20 +02:00
Martin Aeschlimann
4c030c46d4 [json] run serverless 2020-06-11 18:32:24 +02:00
Martin Aeschlimann
6af2987903 html/json: compute server module without server package.json 2020-06-11 14:59:56 +02:00
Martin Aeschlimann
22aaa30490 [json] offline mode, don't show resolve errors. Fixes #96083 2020-06-04 16:34:52 +02:00
Martin Aeschlimann
e045073284 json.schemaDownload.enable prevents vscode schemas from beeing fetched. #96083 2020-05-14 11:23:50 +02:00