monaco-editor/monaco-css
Alex Dima c8d3fc1fd0
Move build.js outside of `scripts` folder
2021-11-12 01:05:22 +01:00
..
src Use `esbuild` also for AMD variant 2021-11-12 01:02:23 +01:00
README.md Improve `monaco-html` scripts 2021-11-11 22:35:29 +01:00
build.js Move build.js outside of `scripts` folder 2021-11-12 01:05:22 +01:00
monaco.d.ts run `prettier` 2021-11-06 00:15:13 +01:00
package.json Move build.js outside of `scripts` folder 2021-11-12 01:05:22 +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 monaco.d.ts 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.

Development

  • watch with npm run watch
  • compile with npm run prepublishOnly