Adjust Code Style

Use quick intentions to adjust the style of your code right where your cursor is.

You can use ⌥⏎ (macOS) / Alt+Enter (Windows/Linux), to show context actions for your selection and then edit the code style.


Related Resources

Create an Editor Fold
Create an Editor Fold
Create an editor fold to hide parts of your class which can make it more readable.
Generate Overrides for equals(), hashCode() and toString()
Generate Overrides for equals(), hashCode() and toString()
We can generate the code to override the equals and hashCode methods.
Surround With
Surround With
Surround your code with common programming constructs.