If I put my cursor on a field and type M-C-a, I expect a ChangeLog entry for the field to be created. However, instead I only get the file name and not the field name.
Can you drop a quick code snippet of the code the caret would be on when you invoke the ChangeLog plug-in (just the code in context would be great), and the expected ChangeLog entry from that (don't worry about author/date fields). FWIW if the AST interrogation provides nothing, or something nonsensical, it will strip it and the brackets and just include the filename. So it looks like confusion on interrogating that particular language's AST model.
Suppose you have a field definition like this: private static final long serialVersionUID = 0L; I would expect the same ChangeLog result no matter where on the line (at least, anywhere before the ";") the cursor appears, namely: * filename.java (serialVersionUID): <cursor here> Right now I just see: * filename.java:
Created attachment 129608 [details] Patch
I've fixed the bug, it should work now. 2006-05-19 Kyu Lee <klee> * src/com/redhat/eclipse/changelog/core/parsers/JavaParser.java (parseCurrentFunction): Fixed bug 168682.
I've applied this patch to CVS. Thanks, Kyu. Igor: when you get a chance to spin a new release, can you close this bug? Thanks.
I built 2.0.4 into dist-fc5-updates.
(In reply to comment #6) > I built 2.0.4 into dist-fc5-updates. Thanks, Igor. Can you also build it into rawhide?
(In reply to comment #7) > (In reply to comment #6) > > I built 2.0.4 into dist-fc5-updates. > > Thanks, Igor. Can you also build it into rawhide? Done.