Home Download Buy Blog Forum Support

Indent selection behavior: indent blank lines as well?

Indent selection behavior: indent blank lines as well?

Postby julien_c on Wed Feb 01, 2012 10:43 am

Hi,

When indenting selections with the Tab key, I would like blank lines to be indented as well (currently they remain blank). (cf. attached screenshot)

Is there a configuration option to do that?

Cheers,

Julien

Capture d’écran 2012-02-01 à 11.40.55.png
Current behavior
Capture d’écran 2012-02-01 à 11.40.55.png (20.73 KiB) Viewed 884 times

Capture d’écran 2012-02-01 à 11.40.24.png
Desired behavior
Capture d’écran 2012-02-01 à 11.40.24.png (21.74 KiB) Viewed 881 times
julien_c
 
Posts: 5
Joined: Wed Jan 18, 2012 8:16 pm

Re: Indent selection behavior: indent blank lines as well?

Postby julien_c on Thu Feb 16, 2012 5:53 pm

Bump :)

By the way, for what it's worth, the desired behavior I described is also the behavior in TextMate.
julien_c
 
Posts: 5
Joined: Wed Jan 18, 2012 8:16 pm

Re: Indent selection behavior: indent blank lines as well?

Postby vitaLee on Thu Feb 16, 2012 6:05 pm

add this to your user config file - "auto_indent": true, "trim_automatic_white_space": false
vitaLee
 
Posts: 150
Joined: Tue Dec 27, 2011 11:10 pm

Re: Indent selection behavior: indent blank lines as well?

Postby chesleybrown on Wed Jan 22, 2014 1:57 am

I remember this working for me in Sublime Text 2, but these settings no longer have the same behaviour in Sublime Text 3. :cry:
chesleybrown
 
Posts: 1
Joined: Wed Jan 22, 2014 1:55 am


Return to Technical Support

Who is online

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