auto-index inside strings?

Is there a setting to get the auto-indent to work inside a string?

say you're doing:

LineItemArchive.find_by_sql(["select
                                                id,

and hit enter,
instead of the carat being indented to the same position as the i, its positioned at the start of the line.

Andrew

1 comment

Hi Andrew,

Is there a setting to get the auto-indent to work inside a string?

say you're doing:

LineItemArchive.find_by_sql(["select
                                                id,

and hit enter,
instead of the carat being indented to the same position as the i, its positioned at the start of the line.

RubyMine doesn't have such an option, you can create feature request at our issue tracker and if it gets enough comments/votes once it will be implemented.

Regards,
Oleg

0

Please sign in to leave a comment.