The StripSelection Plugin
StripSelection plugin
This command removes leading and trailing whitespace from each current selection.
It will not modify the file - it'll simply reduce the selection.
Default shortcut is Ctrl+Alt+L.
To Install This Plugin
- download the StripSelection Plugin to your local hard-drive.
- double-click the package file
- restart Sublime Text
For Developers
- This source code for this plugin is available at google code.
- Google provides instructions for checking out the code