Home Download Buy Blog Forum Support

New Line Indentation

New Line Indentation

Postby dan on Wed Mar 27, 2013 1:10 am

Hi, is there a setting that I can edit that will allow me to use the arrow keys to jump to around, while staying at the current/correct indentation level?

For example: Within a function I may press enter 3 times (without typing), each time my cursor is at the correct indentation level. However if I hit the up or down key I fall out of the correct indentation and my cursor is placed at the very beginning of the line.
dan
 
Posts: 5
Joined: Wed Aug 17, 2011 5:48 am

Re: New Line Indentation

Postby myriacl on Wed May 22, 2013 7:26 pm

I know this question is almost 2 year old, but I had to make like 30 different search to finally find the answer to your question.

I've almost abandonned Sublime because of this weird hidden setting.

Sublime just delete your tabulation as you add new lines, and this is because of this setting

trim_automatic_white_space

You have to set in your config file :
"trim_automatic_white_space": false


and adding new line wont just delete your previous indentation.

I really really really dont understand the mindset of wanting to have this setting true by default, this makes less than no sense, and yes, less than 0 is possible, just look at this option :)
myriacl
 
Posts: 1
Joined: Wed May 22, 2013 7:22 pm


Return to Technical Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 24 guests