mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
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>
This commit is contained in:
committed by
GitHub
parent
b4e6254d60
commit
eee87af252
@@ -15,7 +15,7 @@
|
||||
"@vscode/l10n": "^0.0.11",
|
||||
"jsonc-parser": "^3.2.0",
|
||||
"request-light": "^0.7.0",
|
||||
"vscode-json-languageservice": "^5.2.0",
|
||||
"vscode-json-languageservice": "^5.3.0",
|
||||
"vscode-languageserver": "^8.1.0-next.6",
|
||||
"vscode-uri": "^3.0.7"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user