monaco-editor/README.md

35 lines
1.4 KiB
Markdown
Raw Normal View History

2016-06-23 17:49:17 +08:00
# Monaco CSS
2016-06-27 15:59:30 +08:00
CSS language plugin for the Monaco Editor. It provides the following features when editing CSS, LESS and SCSS files:
* Code completion
* Hovers
* Validation: Syntax errors and linting
* Find definition, references & highlights for symbols in the same file
* Document Symbols
2016-06-27 16:32:19 +08:00
Linting an be configured through the API. See [here](https://github.com/Microsoft/monaco-css/blob/master/src/monaco.d.ts) for the API that the
2016-06-27 15:59:30 +08:00
CSS plugin offers to configure the CSS/LESS/SCSS language support.
Internally the CSS plugin uses the [vscode-css-languageservice](https://github.com/Microsoft/vscode-css-languageservice)
node module, providing the implementation of the functionally listed above. The same module is also used
in [Visual Studio Code](https://github.com/Microsoft/vscode) to power the CSS, LESS and SCSS editing experience.
2016-08-30 17:54:51 +08:00
## Issues
Please file issues concering `monaco-css` in the [`monaco-editor` repository](https://github.com/Microsoft/monaco-editor/issues).
2016-08-30 17:54:51 +08:00
2016-06-27 15:59:30 +08:00
## Installing
This npm module is bundled and distributed in the [monaco-editor](https://www.npmjs.com/package/monaco-editor) npm module.
2016-06-28 18:27:42 +08:00
## Development
* `git clone https://github.com/Microsoft/monaco-css`
* `cd monaco-css`
* `npm install .`
* `npm run watch`
* open `$/monaco-css/test/index.html` in your favorite browser.
2016-06-22 22:03:03 +08:00
## License
2016-08-30 17:54:51 +08:00
[MIT](https://github.com/Microsoft/monaco-css/blob/master/LICENSE.md)