Home Download Buy Blog Forum Support

Enhance tab behavior within a line

Enhance tab behavior within a line

Postby jzellner on Fri Dec 04, 2009 12:43 pm

I haven't purchased Sublime Text yet, but I'm certainly well on my way towards reaching that conclusion! Great software, thanks!

The one gripe I have so far is tab behavior within a line, particularly a Python dict. I'd like if subsequent tabs would align with the beginning of the line (and not current position). This might even be a preference somewhere but I didn't find it.

Starting text without tabbing
Code: Select all
vals = {
    "server":"irc.aaaa.net",
    "port":6667,
    "channel":"#aaaa",
    "nick":"aaaa",
    "pass":"aaaa",
    "owner":"aaaa",
}


What happens when I tab-out the key/value separation
Code: Select all
vals = {
    "server":    "irc.aaaa.net",
    "port":    6667,
    "channel":    "#aaaa",
    "nick":    "aaaa",
    "pass":    "aaaa",
    "owner":    "aaaa",
}


What I wish happened
Code: Select all
vals = {
    "server":   "irc.aaaa.net",
    "port":     6667,
    "channel":  "#aaaa",
    "nick":     "aaaa",
    "pass":     "aaaa",
    "owner":    "aaaa",
}


Make sense?
jzellner
 
Posts: 2
Joined: Fri Dec 04, 2009 12:34 pm

Re: Enhance tab behavior within a line

Postby gpfsmurf on Fri Dec 04, 2009 7:39 pm

I have the same problem.
I have "Indent using spaces" checked, with "Tab width" set to 4.

Pressing Tab always insert 4 spaces instead of respecting virtual tab stops
gpfsmurf
 
Posts: 211
Joined: Mon Jun 23, 2008 6:31 pm

Re: Enhance tab behavior within a line

Postby jzellner on Tue Dec 15, 2009 1:00 pm

This looks fixed in the 20091212 beta. Thanks!
jzellner
 
Posts: 2
Joined: Fri Dec 04, 2009 12:34 pm


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: mrh and 9 guests