aptana / studio3-ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto formatting multi-line boolean statements duplicates the statement

NullVoxPopuli opened this issue · comments

example
if (condition or
condition or
condition)
action
end

results in
if (condition or
condition or
condition)
action
end
if (condition or
condition or
condition)
action
end

Similar results happens for some multiline method calls, except the result is a syntax error, as the parenthesis matching becomes off.

I've opened a ticket for this on our project bug tracker: https://jira.appcelerator.org/browse/APSTUD-4942

Please follow it there.