Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0alpha
-
Fix Version/s: 2.0.0RC1
-
Component/s: Inferencing Engine
-
Labels:None
-
Number of attachments :
Description
Currently, source locations for java doc are not included in IJavaElements generated from the Groovy compiler. This is because java doc locations are ignored by the parser. The problem is that this is preventing source hovers from displayingthe JavaDoc contents of the item being hovered on.
I can see several possible ways of adding Javadoc:
1. Enhance the groovy parser with a new grammar and new AST elements that represent the JavaDoc.
2. After a reconcile do a second walk of the file and determine the start and end points of all JavaDoc comments.
#1 is a much better solution, but would require a fairly significant patch to the compiler. There has been some talk of doing this on the mailing list, but I do not think any progress has been made (certainly, there are no JIRAs for it). #2 would work for the plugin. However, I am a little concerned about the extra time it might take during a reconcile.
Issue Links
- supercedes
-
GRECLIPSE-126
javadoc does not display in javadoc window and also not as popup during code completion when editing a .groovy file
-
-
GRECLIPSE-191
Reuse javadoc from properties for code completion comments ( tooltips )
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Link |
This issue supercedes |
| Link |
This issue supercedes |
| Assignee | James E. Ervin [ jervin ] | Andy Clement [ aclement ] |
| Fix Version/s | 2.0.0RC1 [ 15956 ] |
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Component/s | Inferencing Engine [ 14687 ] | |
| Component/s | Code Browsing [ 13143 ] |