Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Automatic indentation (4 spaces instead of 2?) #118

Closed
bebraw opened this Issue · 5 comments

4 participants

@bebraw

Hi,

Could you please make it possible to set automatic indentation width to some other value? I personally use indentation of four everywhere and having two at the service just breaks my mojo. Thanks! :)

@tjcrowder

Yes please!

@benatkin

Please be sure to implement this as a configuration option, not a default, if it gets implemented. I much prefer two spaces to four spaces. The coincidence of "var " being four spaces isn't something that appeals to me, since I come from the ruby world where we embrace alignment, just like lisp programmers do.

@tjcrowder

@benatkin:

The coincidence of "var " being four spaces isn't something that appeals to me, since I come from the ruby world where we embrace alignment, just like lisp programmers do.

Completely agreed it should be added as a configuration option (and in my view, as the default, but I don't expect that to happen), but doesn't your statement about alignment support using four?

var foo,    // Blah blah document foo blah blah
    bar,    // Blah blah document bar blah blah
    baz;    // Blah blah document baz blah blah

-- T.J. ;-)

@phuu
Owner

@bebraw @tjcrowder @benatkin This is possible via a configuration option. To see how, checkout this screencast. Hope that helps!

@phuu phuu closed this
@bebraw

Super. Thanks. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.