Johan
Johan

Reputation: 37

Intellij change line spaces

When I add a space for the same code line it has 9 spaces, is there a way to change this? The first image is how I have it and the second is how I want.

enter code here

enter image description here

Upvotes: 1

Views: 78

Answers (1)

H3AR7B3A7
H3AR7B3A7

Reputation: 5261

In Settings > Editor > Code Style > Java:

Under Tabs and Indents you can change your desired indentations.

I think the 'Use indents relative to expression start' option might do what you are looking for, I am not sure.

Upvotes: 1

Related Questions