3 ms·
I love the JetBrains code folding, but I would hate it being on by default. Lots of arguments here about “you shouldn’t need this feature, just write better cod
by corytheboyd 2y ago
I love the JetBrains code folding, but I would hate it being on by default. Lots of arguments here about “you shouldn’t need this feature, just write better code”, which is fair, but unrealistic for massive projects you’re doing surgery on. It’s in those cases that I may use code folding to make a terrible file visually scannable again (only collapse bodies, as author mentions), then selective unfold bodies (potentially nested) as I need to see them. It’s not the most important feature TBH, but it’s nice that it’s there. I prefer it to the hierarchy tree because I don’t have to leave the editor part of the UI, and can use only keyboard shortcuts for selecting and folding code.