A browser based code editor
Find a file
2020-09-07 15:46:02 +02:00
.vscode Init 2016-06-23 11:52:34 +02:00
scripts Use the global monaco only in the AMD case (see microsoft/monaco-editor#1974) 2020-09-07 15:44:26 +02:00
src Use the global monaco only in the AMD case (see microsoft/monaco-editor#1974) 2020-09-07 15:44:26 +02:00
test Fix indentation in the CSS test page 2018-10-02 21:48:00 +02:00
.gitignore Init 2016-06-23 11:52:34 +02:00
.npmignore Ship ESM; Adopt latest deps 2018-03-09 14:19:20 +01:00
.prettierrc Add prettier 2020-09-07 15:46:02 +02:00
LICENSE.md Init 2016-06-23 11:52:34 +02:00
monaco.d.ts Use the global monaco only in the AMD case (see microsoft/monaco-editor#1974) 2020-09-07 15:44:26 +02:00
package-lock.json Add prettier 2020-09-07 15:46:02 +02:00
package.json Add prettier 2020-09-07 15:46:02 +02:00
README.md Adopt latest monaco-editor-core 2019-09-19 10:07:38 +02: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 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