IntelliJ simple methods in onle line after closing class file
一人关注
Hello,
if i have a simple method like that:
private void helloWorld()
{
System.out.println("Hello world");
}
after closing the class file and opening it again, intellij reformats it as
private void helloWorld() { System.out.println("Hello world"); }
How can i disable this feauture?
I wnat intellij to keep method intact.
请先登录再写评论。
Are you sure the file is formatted like this on disk (verify with other editor)?

It looks like just a visual folding controlled by this setting: