Reputation: 556
So i'm using IntelliJ, and whenever I have a single line statement within brackets it makes it one line:
public AddChatTrigger(TutorialPlugin plugin) { this.plugin = plugin; }
How do I tell IntelliJ to format like so:
public AddChatTrigger(TutorialPlugin plugin) {
this.plugin = plugin;
}
I tried playing with the code style settigns, but I couldn't seem to find the right one.
Upvotes: 0
Views: 141
Reputation: 18911
It looks like code folding. It can be disabled in File | Settings | Editor | General | Code Folding | One-line methods.
Upvotes: 1