Sublime Forum

Turn off 'Trim Trailing White Space On Save'

#1

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’:

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!

0 Likes

#2

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.

0 Likes

#3

EJ12N,

This has solved my problem

Thank you!

0 Likes

#4

[quote=“charliematters”]EJ12N,

This has solved my problem

Thank you![/quote]

Nice! Your welcome :smile:

0 Likes