Sublime Forum

Preserve whitespace for python

#1

When writing python I need to preserve indentation. When I spread my lines out with newline (enter key) auto indent adds whitespace to the new line as expect but when I move off of said line the whitespace is deleted. When I add the whitespace and arrow off the line sometimes they stay and sometimes they go. Copy and paste the blocks from sublime into console and always get an error due to improper indentation. It’s driving me nuts, please help, I’d rather not use vscode.

lines%20with%20whitespaces

I already have:
“trim_automatic_white_space:”: false,

0 Likes

#2

"trim_automatic_white_space": false has the behavior you’re asking for (Note the setting you posted has an extra :, which may be why it’s not working for you).

1 Like