Understanding "Continuation Indent"

Hi, Please help me understand how "Continuation Indent" works.  See attached.  Thanks!



Attachment(s):
why_four_spaces.jpg
0
7 comments
Avatar
Oleg Sukhodolsky

Hi,

to try to explain the behavior you see we need to have a real example of the code which reproduce it.

Regards, Oleg.

0

Before:

asdfasdf("foo" + "bar")

After hitting enter:

asdfasdf("foo" +
    "bar")


Got 4 spaces, expected 2.

1
Avatar
Oleg Sukhodolsky

Hi,

it looks like a bug for me, please file one in our tracker (https://youtrack.jetbrains.com/issues/RUBY?q=%23%7BRuby.+Formatter%7D+)
Do not forget to include description of your ruby code style settings (e.g. screenshots of both tabs)

Regards, Oleg.

0

Looks like that system requires a different login, and I don't really have time.  Can you file the bug?  This isn't an open-source project, this is paid software.  Thanks.

0
Avatar
Oleg Sukhodolsky

Yes, I can but you will not be able to track the progress.
Aslo I need screenshot of second tab of you ruby code style settings to reproduce the problem.

Regards, Oleg.

0

Thanks, here's the second tab:



Attachment(s):
Screen Shot 2015-06-04 at 5.08.25 PM.jpg
0

Please sign in to leave a comment.