RE: jde integration with hippie completion
James Ahlborn <[email protected]> Mon, 27 Nov 2006 08:56:55 -0500
| Newsgroups | gmane.emacs.jdee |
|---|---|
| Message-ID | <[email protected]> |
it seems like there was some issue in the integration. that error seems to be generated by the completion building code. however, that code should only be called the first time completion is attempted. after that, it should be working off of the previously built list. but, it seems like it's trying to do the second completion on the whole "getChars(int,int,char[],int)" string, which isn't going to work. what did you do in order to integrate the jde-hippie stuff? are you just using the file as is? how are you invoking hippie-expand? -james On Sat, 2006-11-25 at 20:29 -0500, Paul Kinnucan wrote: > Hi James, > > > > Thanks for this contribution to the JDEE. I have integrated it into > the JDEE by adding your completion functions to the hippie-expand- > functions-list in the jde-mode function However, I am having trouble > getting it to work correctly. If there are multiple possible > completions for a method, it always chooses the first method. Trying > to get the next method by invoking hippie-expand again results in a > completion error. For example, suppose that you want to complete > > > > String x = new String(“foo”); > > x.getC… > > > > Possible completions include: > > > > x.getChars > > x.getClass > > > > However, invoking hippie-expand always gives you: > > > > x.getChars(int,int,char[],int) > > > > Reinvoking hippie-expand results in: > > > > "Cannot complete return type of x.getChars(int,int,char[],int) is > void.") > > > > I’m not that familiar with how hippie works so maybe I am missing > something. > > > > Paul > > > > > > > > > ______________________________________________________________________ > > From: James Ahlborn [mailto:[email protected]] > Sent: Wednesday, September 20, 2006 12:54 PM > To: [email protected] > Subject: jde integration with hippie completion > > > > > i use hippie completion in emacs, which does everything that the > standard completion (dabbrev) does, and so much more. ever since i > first tried it, i loved it. anyway, always bothered me that jde > completion had no hippie completion integration. so, i finally got > around to writing it. i'm passing this on so others can enjoy hippie > goodness with jde completion. i wrote it against 2.3.5 version of > jde, so hopefully it'll work with 2.3.5.1. maybe it could be > integrated into the jde-complete package... > > -james > > > :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: > > James Ahlborn > Software Developer > Health Market Science, Inc. > > direct: (610) 994-5171 > email: [email protected] > Visit our new site: www.healthmarketscience.com > > :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: > > > > > >