Automatically unfold blocks when going to line?


I like to keep anything I’m not working on folded to make it easy to scroll through files, but when I use the “go to line” function or a plugin (like a linter or build tool) tries to take me to a line within a folded block I have to manually unfold the block to get down to the line in question. this is pretty painful if the line is deeply nested within folded blocks. Is there any way to have Atom automatically unfold blocks when doing to a line?

Thanks, I appreciate any help.


I’d also very much like that behaviour. I would also like that any change made to a folded code block makes the block unfold. Any idea how to achieve that? Sublime for example behaves like this.

Also is there an option to disable code folding?