views:

1920

answers:

3

I want to use a real IDE for editing javascript files in combination with Firebug. In the 'Add editor' dialog for Firebug I'm allowed to specify executable and arguments. So the question is really how do I open a file in Eclipse/Netbeans from the command line.

Extra points for allowing me to choose between opening a new Eclipse/netbeans instance and reusing an already running one.

+1  A: 

Not an exact answer I'm afraid, but this information might help.

Eclipse Help - Running Eclipse
Fireclipse: Debug from FF straight into Eclipse

andyuk
Yeah I found those, but it didn't solve the problem for me.
awi
A: 

I havent tried this yet but looks interesting Javascript Debug Toolkit 2.0.0

Also I have heard that aptana is pretty good

Craig Angus
A: 

Ever though about the other way round? That means to start eclipse, start there a debug session with Firebug included?

If that could be an answer, see the explanation under Installing the JavaScript degbugger for the Aptana Studio. There is an option to install Aptana inside eclipse instead of loading the whole thing.

Caveat: I have never tried that, but I use currently Aptana for programming Rails, perhaps I will use that in the near future.

mliebelt