Did you ever think if trailing white-spaces could be removed automatically from file before saving it in Sublime Text Editor?
Sublime Text Editor is very liberal to provide such a functionality without installing any extra plugins.
Follow the below mentioned steps for automatic removal of trailing white-spaces :-
Click on Preferences
Then click on Settings-User
Sublime automatically opens a preference file.
Add the following piece of code in between the braces ({}) contained in the file
"trim_trailing_white_space_on_save": true
Now save the file.
Thats it. Now whenever you will save a file the editor will automatically remove trailing white-spaces.
0 Comment(s)