|
9 лет назад | |
---|---|---|
.vscode | 9 лет назад | |
src | 9 лет назад | |
.gitignore | 9 лет назад | |
.npmignore | 9 лет назад | |
LICENSE.md | 9 лет назад | |
README.md | 9 лет назад | |
gulpfile.js | 9 лет назад | |
package.json | 9 лет назад |
JSON language plugin for the Monaco Editor. It provides the following features when editing JSON files:
Schemas can be provided by configuration. See here for the API that the JSON plugin offers to configure the JSON language support.
Internally the JSON plugin uses the vscode-json-languageservice node module, providing the implementation of the functionally listed above. The same module is also used in Visual Studio Code to power the JSON editing experience.
This npm module is bundled and distributed in the monaco-editor npm module.
/src/
)git clone https://github.com/Microsoft/monaco-json
and change directory to monaco-json
npm install .
npm run watch
npm run prepublish
/src/
). Important: both monaco repositories must have the same parent folder.git clone https://github.com/Microsoft/monaco-json
(this will create $/src/monaco-json
)git clone https://github.com/Microsoft/monaco-editor
(this will create $/src/monaco-editor
)monaco-json
run npm run watch
monaco-editor
run npm run simpleserver
monaco-editor-core
./src/
) that already contains monaco-json
and monaco-editor
git clone https://github.com/Microsoft/vscode
(this will create $/src/vscode/
)vscode
run gulp watch