At 01:06 PM 5/8/00 -0400, you wrote: > >Perhaps this is not a JDE problem, I'm not sure. I just noticed that >Imenu does not list members that have a package prefix. For instance, >in a class in my current source file, if I have > > private Vector filev = new Vector(); > >Imenu will list it. If I have > > private java.util.Vector filev = new Vector(); > >Imenu will not. Personally, I don't use this style, but the project I >have inherited was coded throughout with this style -- no import >statements -- which means Imenu is of limited use. > >Your thoughts? Probably just a tweak on a regexp somewhere? If so, if >you could point out where I could look, I'd be willing to go in and >try to fix it. And again, if this is not a specific JDE problem, just >let me know, and I'll try to track it down. > Hi Dave, The JDE currently uses regular expressions to build the imenu index. Regular expressions entail a tradeoff of speed versus completeness. In constructing the regular expressions, I chose to sacrifice qualified names to keep indexing speed reasonable. The next release of the JDE (due within a week) uses a BNF grammar generated by Eric Ludlam's parser generator to build the imenu index. This provides excellent speed plus complete generality. - Paul - Paul
