Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to remove trailing white-spaces automatically in Sublime Text Editor

    • 0
    • 1
    • 1
    • 1
    • 0
    • 0
    • 0
    • 0
    • 670
    Comment on it

    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)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: