A browser based code editor
Find a file
Martin Aeschlimann b416f4a52b
update service
2021-09-09 09:33:49 +02:00
.vscode Run prettier 2020-09-07 15:48:33 +02:00
scripts Set printWidth to 100 2020-09-19 01:42:59 +02:00
src use same trigger characters as in vscode: Fixes microsoft/monaco-editor#2637 2021-08-25 10:44:21 +02:00
test Set printWidth to 100 2020-09-19 01:42:59 +02:00
.gitignore Init 2016-06-23 11:52:34 +02:00
.npmignore improve .npmignore 2020-09-08 14:11:42 +02:00
.prettierignore update to latest CSS language service 2020-09-07 22:12:04 +02:00
.prettierrc Set printWidth to 100 2020-09-19 01:42:59 +02:00
LICENSE.md Run prettier 2020-09-07 15:48:33 +02:00
monaco.d.ts support custom data. For microsoft/monaco-editor#2284 2021-06-10 20:21:11 +02:00
package-lock.json update service 2021-09-09 09:33:49 +02:00
package.json update service 2021-09-09 09:33:49 +02:00
README.md Run prettier 2020-09-07 15:48:33 +02:00
SECURITY.md Add SECURITY.md 2021-03-10 15:06:54 +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 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