monaco-editor/monaco-css
2021-11-11 22:45:32 +01:00
..
scripts Minor improvements 2021-11-11 22:45:32 +01:00
src Adopt esbuild for the esm release of monaco-css 2021-11-11 21:52:33 +01:00
monaco.d.ts run prettier 2021-11-06 00:15:13 +01:00
package.json Adopt esbuild for the esm release of monaco-css 2021-11-11 21:52:33 +01:00
README.md Improve monaco-html scripts 2021-11-11 22:35:29 +01:00

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