Can we have more "structure" in Groovy structure view?

Structure view can be helpful to navigate among methods, but it doesn't  support Groovy Closure – I was using closure like method, which means  define a closure first, then use it later. I also have some rather big  {} enclosed code blocks, like Groovy Swingbuilder code.

If IDEA  could recognize  any large enough {} code block ( of course the "large  enough" standard can be customized in options) into structure view, that  will be a great help. With structure view navigation and code folding,  navigating in code will be much easier.

If you agree with this feature suggestion, please vote:

http://youtrack.jetbrains.net/issue/IDEA-70644

Please sign in to leave a comment.