Reputation: 1252
My indentation setting is set to one tab. However, when I format my code, multiline ternary operators are formatted with two tabs indent (should be one tab there as well). See below.
These are the only related settings I can find and tweaking them doesn't seem to change the indentation.
These are my indentation settings:
Is there another setting to control this?
Upvotes: 1
Views: 1274
Reputation: 5809
You may configure these settings in Preferences | Editor | Code Style | Language | Tabs and Indents.
The "Indent" and "Continuation Indent" attributes must be set to "1" in your case.
Upvotes: 1