Sometimes, I will fold almost all subroutines but when I create new subroutine on top existing folded ones, they automatically unfold. But it doesn't happen when I put the new routine at the bottom
I'm not sure if you guys are talking about the actual code window, or the Modules pane. If it's the latter, one can right-click in there and uncheck the bottom option:
I'm not sure if you guys are talking about the actual code window, or the Modules pane. If it's the latter, one can right-click in there and uncheck the bottom option: