Sem descrição

Henning Dieterichs 1684631ef4 3.8.1 há 3 anos atrás
.vscode 5ebacc725f Run prettier há 4 anos atrás
scripts 966506278e Set `printWidth` to 100 há 4 anos atrás
src 801e892014 use same trigger characters as in vscode: Fixes microsoft/monaco-editor#2637 há 3 anos atrás
test 966506278e Set `printWidth` to 100 há 4 anos atrás
.gitignore 2380ce142c Init há 9 anos atrás
.npmignore c4c0a98ef7 improve `.npmignore` há 4 anos atrás
.prettierignore a972e015fb update to latest CSS language service há 4 anos atrás
.prettierrc 966506278e Set `printWidth` to 100 há 4 anos atrás
LICENSE.md 5ebacc725f Run prettier há 4 anos atrás
README.md 5ebacc725f Run prettier há 4 anos atrás
SECURITY.md 57aa9e8a21 Add SECURITY.md há 4 anos atrás
monaco.d.ts fdd4346891 support custom data. For microsoft/monaco-editor#2284 há 4 anos atrás
package-lock.json 1684631ef4 3.8.1 há 3 anos atrás
package.json 1684631ef4 3.8.1 há 3 anos atrás

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