Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indentation of nester objects is difficult to read. #94

Open
ColemanGariety opened this issue Jan 26, 2014 · 0 comments
Open

Indentation of nester objects is difficult to read. #94

ColemanGariety opened this issue Jan 26, 2014 · 0 comments

Comments

@ColemanGariety
Copy link

Currently, js3-mode will auto-indent a nested, comma-first variable object like this:

var outer = {
  inner: {
  }
}
   , second = void 0

But wouldn't it make more sense to indent it like so?

var outer = {
        inner: {
        }
      }
    , second = void 0

So that the {}s always line up with the variable name? Then you can easily see what's nested inside what else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant