Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

indent configuration no longer work in 0.4.0 #271

Closed
c-johnson opened this Issue · 2 comments

2 participants

@c-johnson
Collaborator

First -- Really nice work with Scripted in this last year guys! I am very impressed with how far you've taken it since last summer.

Second, I upgraded to scripted 0.4.0 recently and the indenting configuration no longer works when you set the indent_char and indent_size in .scripted files. Mac/Chrome latest

Keep up the good work!

@aclement
Owner

I think the preferable way of setting those is via expandtab/tabsize in the editor block:

"editor": {
  "expandtab": true,
  "tabsize": 4
}

But I presume you are seeing them in the formatter block?

"formatter": {
  "js": {
    "indent_size": 4,
    "indent_char": "\t"
  }
}

is that right?

@aclement
Owner

fixed up in dev. I believe this came about when the new config options where forced into the editor block for auto indent/unindent. The existence of the editor block (even though it had no spacing config entries) interfered with the mirroring of formatter/js settings to editor settings.

@aclement aclement closed this
@aclement aclement was assigned
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.