monaco-editor/monaco-css
Alex Dima 7c6062ccf7
Adjust `package.json` scripts and move all dev deps to the root `package.json`
2021-11-05 16:53:05 +01:00
..
.vscode Move into `monaco-css` folder 2021-11-05 12:07:11 +01:00
scripts Adjust `package.json` scripts and move all dev deps to the root `package.json` 2021-11-05 16:53:05 +01:00
src Move into `monaco-css` folder 2021-11-05 12:07:11 +01:00
test Move into `monaco-css` folder 2021-11-05 12:07:11 +01:00
.gitignore Move into `monaco-css` folder 2021-11-05 12:07:11 +01:00
.prettierignore Move into `monaco-css` folder 2021-11-05 12:07:11 +01:00
.prettierrc Move into `monaco-css` folder 2021-11-05 12:07:11 +01:00
README.md Move into `monaco-css` folder 2021-11-05 12:07:11 +01:00
monaco.d.ts Move into `monaco-css` folder 2021-11-05 12:07:11 +01:00
package.json Adjust `package.json` scripts and move all dev deps to the root `package.json` 2021-11-05 16:53:05 +01:00

README.md

Monaco CSS

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
  • Color Decorators

Linting an be configured through the API. See here for the API that the CSS plugin offers to configure the CSS/LESS/SCSS language support.

Internally the CSS plugin uses the vscode-css-languageservice node module, providing the implementation of the functionally listed above. The same module is also used in Visual Studio Code to power the CSS, LESS and SCSS editing experience.

Issues

Please file issues concering monaco-css in the monaco-editor repository.

Installing

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

Development

  • npm install .
  • compile with npm run compile
  • watch with npm run watch
  • npm run prepublishOnly
  • open $/monaco-css/test/index.html in your favorite browser.

License

MIT