Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0.0alpha
-
Fix Version/s: 2.8.0.Release
-
Component/s: Content Assist, Refactoring
-
Labels:
-
Environment:Groovy-Eclipse 2.0.0.xx-20090828-1900-e35 on Eclipse 3.5 running under Mac OS 10.5 (Leopard).
-
Number of attachments :
Description
If I go to Preferences -> Groovy -> Templates and click "New...", nothing happens. I don't know whether this is a system-specific bug or if the feature is on one someone's to-do list.
Activity
Andrew Eisenberg
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | James E. Ervin [ jervin ] | Andrew Eisenberg [ werdna ] |
Andrew Eisenberg
made changes -
| Original Estimate | 0 minutes [ 0 ] | |
| Remaining Estimate | 0 minutes [ 0 ] |
Andrew Eisenberg
made changes -
| Assignee | Andrew Eisenberg [ werdna ] |
Andrew Eisenberg
made changes -
| Labels | help-requested |
Andrew Eisenberg
made changes -
| Component/s | Editor [ 13142 ] |
Andrew Eisenberg
made changes -
| Assignee | Andrew Eisenberg [ werdna ] | |
| Fix Version/s | 2.8.0.Release [ 18618 ] |
Andrew Eisenberg
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Andrew Eisenberg
made changes -
| Component/s | Content Assist [ 13144 ] | |
| Component/s | Refactoring [ 13161 ] | |
| Component/s | Editor [ 13142 ] |
I have not worked on reimplementing the groovy templates feature because Java templates work in Groovy editor. I probably should have removed the preference page from the eclipse preferences, but I did not.
I recommend that you try creating a Java template and try it out in a groovy editor. It seems like most of the functionality would transfer, but I have not tested this in depth.
Can you try this and comment here on what is missing (if anything) from creating and using Java templates in Groovy?
One thing that I know I need to look into is adding a new template context specifically for groovy, but that could come later.