RE: jde integration with hippie completion

"Paul Kinnucan" <[email protected]> Sat, 25 Nov 2006 20:29:40 -0500
Newsgroups gmane.emacs.jdee
Message-ID <DB873318D1A41648BEAC4B5AAB63B3E110584D62@MESSAGE-AH.ad.mathworks.com>
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

:: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
::