Java Mailing List Archive

http://www.gg3721.com/

Home » eclipse-plugin-dev.groovy »

[groovy-eclipse-plugin-dev] Code folding

Matthias Köster

2008-05-01

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi,

My name is Matthias and I'm interested in providing code folding (as requested in GRECLIPSE-41) to this project. Just a few words to my background: I'm working with Java for more than 10 years, have more than 2 years experience in developing eclipse applications and am a fresh Grooy enthusiast.
I've a running implementation for code folding and so I would like to contribute it. The folding works for multi-line comments, classes and methods. Folding of import statements currently just works for type imports, I just realized that other package import nodes aren't accessible via the groovy AST. Comment folding works via the document partitioning. What was surprising to me is that imports aren't used for partitioning the document. This would allow the plugin to provide more specific code completion for imports and would also allow my code folding to use the partitions for folding imports instead of use the groovy CST. So if you are interested I would really be happy to contribute my code folding and perhaps even contribute more stuff in the future.

Matthias

--
Matthias Köster
Bandelstr. 25
10559 Berlin

Tel.:030 39885557
0172 4126754
©2008 gg3721.com - Jax Systems, LLC, U.S.A.