What is the setting for indentation behaviour for new lines?

When I hit return the cursor is double indented from where the preceding line finished, I want the cursor to be aligned with where the previous line started with no additional indentation. What is the setting for this please?

0
3 comments
Avatar
Yuriy Vinogradov

please check here File | Settings | Editor | Code Style | SQL | General -> Tabs and Indents.

0

Thanks Yuriy. After looking where you said I can't see how to affect the excessive indentation after hitting return (which I assume is a continuation?).

e.g

If I have

field1, field2 

And I hit return with the cursor directly before field2, the result is:

field1,

                  field2

That's what I'm trying to avoid.

0

@... - please see above.

0

Please sign in to leave a comment.