I used different settings by the way, cause I received an error saying the "Working directory" wasn't actually an directory (obviously), while running the script.
These are my settings:
Name: CSScomb
Program: csscomb
Parameters: $FilePath$ (I prefer to modify one file at a time, not a complete directory)
Working directory: /usr/local/lib/node_modules/csscomb/bin
And I've added a keymap, so I could use a shortcut to execute csscomb:
- Go to
Preferences > Keymap
- In the list search for
csscomb.
- Double-click on
CSScomb.
- Click on
Add Keyboard Shortcut in the menu which just appeared and hit your shortcut.
I used different settings by the way, cause I received an error saying the "Working directory" wasn't actually an directory (obviously), while running the script.
These are my settings:
Name:
CSScombProgram:
csscombParameters:
$FilePath$(I prefer to modify one file at a time, not a complete directory)Working directory:
/usr/local/lib/node_modules/csscomb/binAnd I've added a keymap, so I could use a shortcut to execute csscomb:
Preferences > Keymapcsscomb.CSScomb.Add Keyboard Shortcutin the menu which just appeared and hit your shortcut.