indent configuration no longer work in 0.4.0 #271

Closed
c-johnson opened this Issue Mar 29, 2013 · 2 comments

Comments

Projects
None yet
2 participants

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!

Contributor

aclement commented Apr 1, 2013

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?

Contributor

aclement commented Apr 1, 2013

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 closed this Apr 1, 2013

aclement was assigned Apr 1, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment