Eclipse 3.3 cannot open a file from the command line



This is my OLD blog. I've copied this post over to my NEW blog at:

http://www.saltycrane.com/blog/2007/07/eclipse-33-cannot-open-file-from/

You should be redirected in 2 seconds.



I want to type "eclipse myfile" from the command line and have eclipse open myfile. As of version 3.3, Eclipse can't do this. See this post on the eclipse mailing list and bug report 60289.
 
I like Eclipse a lot, but am considering using emacs. It would be nice if there were a fast, keyboard driven editor/IDE with *functional* graphical decorations. Graphical icons are useful, but it shouldn't mean that the application is slow and requires a mouse.
 
sidenote: ratpoison with Cgywin/X, screen, rxvt, and bash are working great.

UPDATE 7/23/07: Padclipse is a lightweight editor based on Eclipse that allows you to open a file from the command line. You can add plug-ins to Padclipse like Eclipse, however, I could not get all of the Eclipse functionality to work.

1 comment:

Czapel said...

Hi,

You can try following plugin to add web interface to the eclipse:

http://wiki.eclipse.org/Eclipse_Web_Interface

Then invoking:
wget http://localhost:56789?command=open_file&filepath=/etc/passwd

should open /etc/passwd in your eclipse

Cheers,
Piotr

About

This is my *OLD* blog. I've copied all of my posts and comments over to my NEW blog at:

http://www.saltycrane.com/blog/.

Please go there for my updated posts. I will leave this blog up for a short time, but eventually plan to delete it. Thanks for reading.