@inst/vscode-bin-darwin
Version:
BINARY ONLY - VSCode binary deployment for macOS
23 lines (18 loc) • 1.17 kB
Markdown
# vscode-json-languageservice
JSON language service extracted from VSCode to be reused, e.g in the Monaco editor.
[](https://www.npmjs.org/package/vscode-json-languageservice)
[](https://npmjs.org/package/vscode-json-languageservice)
[](https://travis-ci.org/Microsoft/vscode-json-languageservice)
Why?
----
The _vscode-json-languageservice_ contains the language smarts behind the JSON editing experience of Visual Studio Code
and the Monaco editor.
- *doValidation* analyses an input string and returns syntax and lint errros.
- *doComplete* provides completion proposals for a given location.
- *doResolve* resolves a completion proposals.
- *doHover* provides a hover text for a given location.
- *findDocumentSymbols* provides all symbols in the given document
- *format* formats the code at the given range.
Installation
------------
npm install --save vscode-json-languageservice