Commit Graph
15 Commits
Author SHA1 Message Date
Aiday Marlen KyzyandMartin Aeschlimann 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
Aiday Marlen KyzyandMartin Aeschlimann 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 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 95a9378519 [json] add 'Clear schema cache' command. Fixes #138524 2021-12-06 16:56:17 +01:00
gregvanl 975115a2cb Setting descriptions typos and formatting 2021-03-25 10:17:31 -07:00
Martin Aeschlimann 1a6d7f3118 [json] performance warning message can't be ignored. Fixes #105988 2020-11-27 17:24:02 +01:00
Martin Aeschlimann aa98d29af9 typo in JSON fileMatch hover text. FIxes #101408 2020-06-30 20:40:00 +02:00
Martin Aeschlimann 8a97cbb47d [json] Add setting to disable downloading JSON schemas. Fixes #96083 2020-05-06 18:58:59 +02:00
Martin Aeschlimann 1a55cd072a improve fileMatch descriptions for exclusion patterns 2020-03-04 09:56:33 +01:00
Martin Aeschlimann 669d0ab44e [json] make result limit configurable. Fixes #84259 2019-12-04 15:41:02 +01:00
Pine Wu 649f448ef9 Fix #62146, Fix #62149 2018-11-02 12:15:34 -07:00
Literallie fe4ce0b9d4 Add retry action to JSON status bar icon 2018-10-11 00:27:58 +02:00
Martin Aeschlimann 2eb31c7170 fix javadoc formatter setting description 2018-07-30 17:03:13 +02:00
Martin Aeschlimann 6b8e4c6e9c [folding] remove experimental flag for json/html 2018-03-20 15:29:48 +01:00
Martin Aeschlimann 5b23587f08 [json] split json extension (for #45900) 2018-03-17 15:47:58 +01:00