In combination with ifdef'ed out blocks (un)collapse all would possibly never expand the blocks again.