##CssCoco Sublime Text 3 Plugin
###Installation:
- Install CssCoco
- Add the plugin using Package Control:
- Open package control and choose
Package Control: Add repository
. Input the following link:https://github.com/boryanagoncharenko/Sublime-CssCoco
- Open package control and choose
Package Control: Install Package
. Search forSublime-CssCoco
and install it.
- Open the CssCoco settings file (
Cmd+Shift+,
) and set thecsscoco_path
to yourcsscoco
executable path. Also, set theconventions_file
variable to the path to your .coco file (here are some sample .coco files).
###Usage:
Open a .css file in Sublime Text 3 and hit Cmd+Shift+C
. Similarly to other linter tools, rows that contain a violation will be marked with a border. When you place your cursor on a row with violation, the specific error message will appear in the statusbar.
By default CssCoco will lint every CSS file on file Save. You can change this option from the CssCoco settings file (Cmd+Shift+,
).