Home Download Buy Blog Forum Support

Turn off 'Trim Trailing White Space On Save'

Turn off 'Trim Trailing White Space On Save'

Postby charliematters on Mon Mar 15, 2010 3:26 pm

Hi,

I seem to be having trouble turning off the automatic trimming of white space. If I type the following into 'Default File Type.sublime-options':

Code: Select all
trimTrailingWhiteSpaceOnSave false


Followed by a number of spaces and then save the preferences file (or in fact, any other file), the trailing spaces are removed!

Help!
charliematters
 
Posts: 3
Joined: Mon Mar 15, 2010 3:23 pm

Re: Turn off 'Trim Trailing White Space On Save'

Postby EJ12N on Mon Mar 15, 2010 3:34 pm

it might be a plugin. I know for sure PowerUser plugin removes trailing white space on save. So if you have that you might want to check out PowerUser.py and comment out that feature.
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm

Re: Turn off 'Trim Trailing White Space On Save'

Postby charliematters on Mon Mar 15, 2010 3:44 pm

EJ12N,

This has solved my problem

Thank you!
charliematters
 
Posts: 3
Joined: Mon Mar 15, 2010 3:23 pm

Re: Turn off 'Trim Trailing White Space On Save'

Postby EJ12N on Tue Mar 16, 2010 5:29 pm

charliematters wrote:EJ12N,

This has solved my problem

Thank you!


Nice! Your welcome :)
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 12 guests