Auto-validate, auto-suggest and auto-complete a yaml against a schema in Monaco Editor
- Monaco Yaml -
https://github.com/pengx17/monaco-yaml
- Language server -
https://github.com/wings-software/language-server/packages
git clone https://github.com/vardanbansal-harness/monaco-yaml.git
cd monaco-yaml
npm install
- Go to
react-webpack
orreact-webpack-worker-loader
underexamples/
and install dependencies bynpm install
- Start webpack dev server
npm run start
- Open
http://localhost:8081/
- Hit
Control + Space
for auto-suggestion to kick in