No description
Find a file
2018-02-26 00:05:58 -06:00
.vscode Adapt SnippetString, publish 1.2.1 2017-01-27 15:57:50 +01:00
src House keeping 2018-02-26 00:05:58 -06:00
test Rename path to more common location 2018-02-26 00:05:33 -06:00
.gitignore 1.0 2016-06-26 12:50:57 +02:00
.npmignore 1.0 2016-06-26 12:50:57 +02:00
gulpfile.js Rename path to more common location 2018-02-26 00:05:33 -06:00
LICENSE.md 1.0 2016-06-26 12:50:57 +02:00
package.json House keeping 2018-02-26 00:05:58 -06:00
README.md House keeping 2018-02-26 00:05:58 -06:00
yarn.lock House keeping 2018-02-26 00:05:58 -06:00

Monaco YAML

YAML language plugin for the Monaco Editor. It provides the following features when editing YAML files:

  • Code completion, based on JSON schemas or by looking at similar objects in the same file
  • Hovers, based on JSON schemas
  • Validation: Syntax errors and schema validation
  • Formatting
  • Document Symbols
  • Syntax highlighting

Schemas can be provided by configuration. See here for the API that the JSON plugin offers to configure the JSON language support.

Installing

This npm module is bundled and distributed in the monaco-editor npm module.

Development

  • git clone https://github.com/kpdecker/monaco-yaml
  • cd monaco-yaml
  • npm install .
  • npm run watch
  • open $/monaco-yaml/test/index.html in your favorite browser.

License

MIT