JSON language service extracted from VSCode to be reused, e.g in the Monaco editor.
Перейти к файлу
Martin Aeschlimann 94e244f9bc Update jsonc-parser 2017-01-26 11:22:04 +01:00
.vscode [json] Completions provided in json comments. Fixes Microsoft/vscode#12489 2016-12-05 15:57:36 +01:00
src fix ls-types version number 2017-01-17 19:12:45 +01:00
test Initial commit 2016-06-24 15:35:04 +02:00
.gitignore Initial commit 2016-06-24 15:35:04 +02:00
.npmignore Initial commit 2016-06-24 15:35:04 +02:00
.travis.yml Enable travis builds 2016-12-03 11:03:19 +01:00
LICENSE.md Initial commit 2016-06-24 15:35:04 +02:00
README.md Readme: show travis status 2016-12-03 11:12:35 +01:00
package.json Update jsonc-parser 2017-01-26 11:22:04 +01:00
thirdpartynotices.txt Initial commit 2016-06-24 15:35:04 +02:00

README.md

vscode-json-languageservice

JSON language service extracted from VSCode to be reused, e.g in the Monaco editor.

npm Package NPM Downloads Build Status

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