|
From: Michael M. <mic...@fr...> - 2008-05-02 21:10:51
|
Alan Ezust a écrit : > I haven't used the code completion much except for jedit and plugin > sourcecode, and since those classes are usually already in memory, > completion works great :-) > Hey you gave me an idea, If I throw a compiled version of the lib I'm working on in the jar directory and restart jedit, I got a better code completion. It still does not work in certain cases : - for method parameters (and for attributes if they have the same name as method parameters) - for composed attributes/methods (two elements separated by dot or more) ... but it works fine for many other useful cases. Hope somebody will have time to fix that. Indeed, I was very surprised to discover that I'm the only one who love developping in java with jEdit but who miss code completion ! Thanks for the best editor ever Michaël > I haven't had a chance to play around with the classpath options yet. > > > On Wed, Apr 30, 2008 at 12:06 PM, Dale Anson <da...@gr...> wrote: > >> Sounds like a bug to me. I wrote the code completion, but I don't use >> it, so it doesn't get much attention. I'll look into it. In the mean >> time, would you enter a tracker item for it? >> >> Thanks, >> >> Dale >> >> >> >> >> >> Michael Michaud wrote: >> > Hi all, >> > >> > First of all, congratulation for the new version of jEdit (pre14). I >> > really like the new set of icons. >> > >> > Now the bother. >> > Today, I tried to understand how to make javasidekick aware of my >> > project classpath to get proper code completion, >> > but after I have tried about all the plugin options, and read several >> > times the help, I had to give up. >> > Let's say I have a project called "MyProject" with >> > ClassA.java >> > ClassB.java >> > I select "MyProject" in the Project Viewer and set its classpath >> > settings as follows : >> > include system classpath = true >> > classpath = the path to my myproject.jar (and dependencies) >> > sourcepath = the directory containing ClassA.java and ClassB.java >> > build path = the build directory >> > >> > Now I edit ClassA.java >> > If I type : >> > Math. >> > I get a popup list with all the static methods >> > If I type : >> > String astring = "anything"; >> > astring. >> > I again get a popup list with all the object methods >> > If I type : >> > ClassB b = new ClassB(); >> > b. >> > I get nothing and can't auto-complete >> > >> > Ah, I use jEdit 4.3pre14, I updated the 3 plugins today (they already >> > were uptodate), and I work on a laptop with windows XP home edition >> > I also tried to remove antfarm to avoid side effect. >> > (I cannot say it is a recent problem, I never get a "complete" code >> > completion in jedit, but it is the first time I really try to make it work) >> > >> > Thanks for any help about this topic. >> > >> > Michaël >> > >> > >> > >> > ------------------------------------------------------------------------- >> > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> > Don't miss this year's exciting event. There's still time to save $100. >> > Use priority code J8TL2D2. >> > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> > >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> -- >> ----------------------------------------------- >> jEdit Users' List >> jEd...@li... >> https://lists.sourceforge.net/lists/listinfo/jedit-users >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > |