Community
Participate
Working Groups
Created attachment 254142 [details] Folded copy in IntelliJ Code folding is less useful in Eclipse compared to other IDEs. For example IntelliJ has this nice feature that it shown the content in the same line if it actually fits into it. I think this would also very benefical for the Eclipse IDE users. Screenshots attached.
Created attachment 254143 [details] Folded code in Eclipse
Created attachment 254144 [details] Folded code in IntelliJ
This will be hard to do with the current projection infrastructure.
I actually doubt the advantage of the IntelliJ variant: If I fold away some code, I'd typically do this in order to have less information on the screen: just headers, nothing more. Eclipse seems to follow this goal pretty closely. By contrast, IntelliJ seems to follow a different goal: compress the element to a single line, squeezing in any information that fits on the line.