Files
vscode/extensions/json-language-features/server/package.json
T
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

38 lines
1.3 KiB
JSON

{
"name": "vscode-json-languageserver",
"description": "JSON language server",
"version": "1.3.4",
"author": "Microsoft Corporation",
"license": "MIT",
"engines": {
"node": "*"
},
"bin": {
"vscode-json-languageserver": "./bin/vscode-json-languageserver"
},
"main": "./out/node/jsonServerMain",
"dependencies": {
"@vscode/l10n": "^0.0.11",
"jsonc-parser": "^3.2.0",
"request-light": "^0.7.0",
"vscode-json-languageservice": "^5.3.0",
"vscode-languageserver": "^8.1.0-next.6",
"vscode-uri": "^3.0.7"
},
"devDependencies": {
"@types/mocha": "^9.1.1",
"@types/node": "16.x"
},
"scripts": {
"prepublishOnly": "npm run clean && npm run compile",
"compile": "npx gulp compile-extension:json-language-features-server",
"watch": "npx gulp watch-extension:json-language-features-server",
"clean": "../../../node_modules/.bin/rimraf out",
"install-service-next": "yarn add vscode-json-languageservice@next",
"install-service-local": "yarn link vscode-json-languageservice",
"install-server-next": "yarn add vscode-languageserver@next",
"install-server-local": "yarn link vscode-languageserver-server",
"version": "git commit -m \"JSON Language Server $npm_package_version\" package.json"
}
}