I've been having strange method wrapping/not-wrapping issues in 13 lately. When I load a java file, short methods will unwrap themselves, like so:
public Long getId() { return id; }
Using the "Reformat" option does nothing to it. However, if I start to modify the method, or just next-word through it, it will suddenly wrap "correctly" like so:
public Long getId() {
return id;
}
If I close and reopen the file, it "unwraps" again until I start to modify/navigate the method again. It only happens to short, single-line methods like simple getters/setters. This is with 13.0.1, 13.0.3, and 13.1. I have dug through all the various code style options and can't find any combination that seems to make it stop doing this. I know I'm probably missing something obvious, but I'd appreciate if someone has a solution to this problem.
Thanks