Back to Unocss

README

packages-integrations/vscode/README.md

66.6.83.2 KB
Original Source
<p align="center"> </p> <h1 align="center">UnoCSS for VS Code</h1> <p align="center"> <a href="https://marketplace.visualstudio.com/items?itemName=antfu.unocss" target="__blank"></a> </p>

Documentation

Please refer to the documentation.

Commands

<!-- commands -->
CommandTitle
unocss.reloadUnoCSS: Reload UnoCSS
unocss.insert-skip-annotationUnoCSS: Insert @unocss-skip for the selection
<!-- commands -->

Configurations

<!-- configs -->
KeyDescriptionTypeDefault
unocss.disableDisable the UnoCSS extensionbooleanfalse
unocss.languageIdsarray``
unocss.rootProject root that contains the UnoCSS configuration filearray,string``
unocss.includeDirectory of files to be detectedarray,string``
unocss.excludeDirectory of files not to be detectedarray,string``
unocss.underlineEnable/disable underline decoration for class namesbooleantrue
unocss.colorPreviewEnable/disable color preview decorationsbooleantrue
unocss.colorPreviewRadiusRadius for color previewstring"50%"
unocss.remToPxPreviewEnable/disable rem to px preview in hoverbooleantrue
unocss.remToPxRatioRatio of rem to pxnumber16
unocss.selectionStyleEnable/disable selection style decorationsbooleantrue
unocss.strictAnnotationMatchBe strict about where to show annotationsbooleanfalse
unocss.autocomplete.matchTypeThe matching type for autocompletestring"prefix"
unocss.autocomplete.strictBe strict about where to show autocompletebooleanfalse
unocss.autocomplete.maxItemsThe maximum number of items to show in autocompletenumber1000
<!-- configs -->

License

MIT License © 2021-PRESENT Anthony Fu