Re: fix imports

2008-12-04 Thread Martin DeMello
On Dec 3, 11:59 pm, "Vijay Lakshminarayanan" <[EMAIL PROTECTED]> wrote: > > This is far from complete and should be expanded but I got this from a > few hours of hacking: Good stuff, thanks! martin --~--~-~--~~~---~--~~ You received this message because you are su

Re: fix imports

2008-12-03 Thread Vijay Lakshminarayanan
On Tue, Dec 2, 2008 at 1:53 AM, Stuart Sierra <[EMAIL PROTECTED]> wrote: > > On Nov 28, 7:41 am, lpetit <[EMAIL PROTECTED]> wrote: >> The "fix import" action could try to resolve an unknown symbol by >> first searching the symbol in one of the classpath available >> namespaces, and then search for

Re: fix imports

2008-12-01 Thread Stuart Sierra
On Nov 28, 7:41 am, lpetit <[EMAIL PROTECTED]> wrote: > The "fix import" action could try to resolve an unknown symbol by > first searching the symbol in one of the classpath available > namespaces, and then search for java classes in the classpath. > It could then add an import/require command fo

Re: fix imports

2008-12-01 Thread Paul Drummond
2008/12/1 Michael Wood <[EMAIL PROTECTED]> > I think his point is that if he gets an "Unable to resolve symbol: > Polygon" error and also an "Unable to resolve symbol: Point2D" error > then he still has to figure out which one is in java.awt and which is > in java.awt.geom. He wants a tool to spi

Re: fix imports

2008-12-01 Thread Michael Wood
On Mon, Dec 1, 2008 at 1:15 PM, Paul Drummond <[EMAIL PROTECTED]> wrote: > 2008/11/28 Martin DeMello <[EMAIL PROTECTED]> >> >> No, I'd be perfectly happy with a command line tool that could analyse >> my clojure program and tell me what imports I'm missing - I just don't >> want to have to tedious

Re: fix imports

2008-12-01 Thread Paul Drummond
2008/11/28 Martin DeMello <[EMAIL PROTECTED]> > No, I'd be perfectly happy with a command line tool that could analyse > my clojure program and tell me what imports I'm missing - I just don't > want to have to tediously go through the javadocs one by one and see, > for instance, that I need java.a

Re: fix imports

2008-11-28 Thread Martin DeMello
On Nov 28, 12:03 am, "Paul Drummond" <[EMAIL PROTECTED]> wrote: > Hi Martin, > > Well, this is the sort of feature provided by IDEs rather than editors as > you say, so it's not a "clojure" specific issue.  It's whether your chosen > IDE supports the feature you require. No, I'd be perfectly happ

Re: fix imports

2008-11-28 Thread lpetit
en't tried them. > > Paul. > > 2008/11/28 Martin DeMello <[EMAIL PROTECTED]> > > > > > I've done a bit of Java programming, and one of the reasons I use an > > IDE (netbeans) rather than plain vim is that I can write code without > > having

Re: fix imports

2008-11-28 Thread Paul Drummond
a programming, and one of the reasons I use an > IDE (netbeans) rather than plain vim is that I can write code without > having to bother about where every class I use comes from, then click > 'fix imports' and have netbeans statically examine the code and add > import stateme

fix imports

2008-11-27 Thread Martin DeMello
I've done a bit of Java programming, and one of the reasons I use an IDE (netbeans) rather than plain vim is that I can write code without having to bother about where every class I use comes from, then click 'fix imports' and have netbeans statically examine the code and add im