Reputation: 21978
With following codes,
bytes[i] = (byte) ((Character.digit(hex.charAt(j), 16) << 4)
| Character.digit(hex.charAt(++j), 16));
How can I align contents between (
and )
? So I can see following?
bytes[i] = (byte) ((Character.digit(hex.charAt(j), 16) << 4)
| Character.digit(hex.charAt(++j), 16));
Which one should I check in Preferences / Editor / CodeStyle / Java / Wrapping and Braces
?
Upvotes: 0
Views: 80
Reputation: 4456
You're looking for the Binary expressions / Align when multiline
To quickly find the corresponding code style option, select the code snippet in Editor and invoke Alt+Enter intention action then select Adjust code style settings from the popup:
Upvotes: 2