Skip to content

Execute csscomb on a selection instead of a complete file

Notifications You must be signed in to change notification settings

ErikvdVen/ccselect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

CSSComb on selected rows

I don't always want to run csscomb on a complete file, especially not when working in a team of developers working on the same files, in which case csscomb can results in a lot of file changes every single commit. This was a reason for me to create a script which is able to run csscomb only on a particular selection.

how it works

./ccselect.py --start <start rownumber> --end <end rownumber> --file /path/to/file.scss

Note: .css files work as well obviously.

PHPStorm

This is my setup for PHPStorm, so I only have to select the particular code and hit CTRL + SHIFT + C to run csscomb on that selection. External Tools in PHPStorm

About

Execute csscomb on a selection instead of a complete file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages