Saltycrane logo

SaltyCrane Blog

Notes on Python, Django, and web development on Ubuntu Linux

    

Eclipse 3.3 cannot open a file from the command line

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 — feed icon Comments feed for this post


#1 flynn commented on 2008-01-04:

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

Post a comment

Required
Required, but not displayed
Optional

Format using Markdown. (No HTML.)
  • Code blocks: prefix each line by at least 4 spaces or 1 tab (and a blank line before and after)
  • Code span: surround with backticks
  • Blockquotes: prefix lines to be quoted with >
  • Links: <URL>
  • Links w/ description: [description](URL)
Created with Django | Hosted by Slicehost