I tried to use this to strip whitespace and then save automatically when I press ctrl+s, but somehow as soon as I save the snippet it fails to save. It runs the whitespace cleanup alright though, but doesn't seem to execute the save command. I tried just binding it to command="sequence save", this also fails to save the file. Is it expected ?
- Code: Select all
<binding key="ctrl+s" command="sequence 'removeWhitespace trailing' 'removeWhitespace extra' 'save'" />