GRECLIPSE

Implement code folding for GroovyEclipse

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.5.6
  • Fix Version/s: 1.5.7
  • Component/s: Editor
  • Labels:
    None
  • Number of attachments :
    1

Description

I notice that the GroovyEclipse plugin does not implement the very useful feature of code folding, that exists in almost every other language editor for Eclipse.
I'm sorry, I have no idea how to program that

Activity

Hide
BarzilaiSpinak added a comment -

any plans for this one?
it would be really useful!

Show
BarzilaiSpinak added a comment - any plans for this one? it would be really useful!
Hide
Thorsten Kamann added a comment -

I have scheduled this for 1.6.0.

We must see how the folding works. Perhaps this would be moved to a later version. But everyone who needs this feature can vote for this issue...

Show
Thorsten Kamann added a comment - I have scheduled this for 1.6.0. We must see how the folding works. Perhaps this would be moved to a later version. But everyone who needs this feature can vote for this issue...
Hide
Robert Munteanu added a comment -

Folding is useful and a potential first step for Mylyn integration.

Show
Robert Munteanu added a comment - Folding is useful and a potential first step for Mylyn integration.
Hide
Matthias Köster added a comment -

Attached patch contains code folding extension for the groovy editor. The code folding can be enabled\disabled via the Groovy->Editor preference page. I've also i18n the whole editor page Folding is supported for multiline comments, classes, methods and imports.
Due to limitations in Groovy's AST, folding for import just works for type imports!
I've also added a simple test.

Hope you accept my patch!

Show
Matthias Köster added a comment - Attached patch contains code folding extension for the groovy editor. The code folding can be enabled\disabled via the Groovy->Editor preference page. I've also i18n the whole editor page Folding is supported for multiline comments, classes, methods and imports. Due to limitations in Groovy's AST, folding for import just works for type imports! I've also added a simple test. Hope you accept my patch!
Hide
Mike Klenk added a comment -

I added the patch and tested the functionality and added the tests to the test suite. Thanks to Matthias Köster for this improvement patch.

Show
Mike Klenk added a comment - I added the patch and tested the functionality and added the tests to the test suite. Thanks to Matthias Köster for this improvement patch.

People

Vote (2)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: