Open a file with eclipse via terminal and focus eclipse window

Posted by Rui Carneiro on Super User See other posts from Super User or by Rui Carneiro
Published on 2012-04-11T10:24:50Z Indexed on 2012/04/11 11:34 UTC
Read the original article Hit count: 430

Filed under:
|
|

I am a webdeveloper and my current working tools are:

  • Terminal (ssh, tailing logs, grep, git, etc)
  • Eclipse (PDT, Javascript, etc)
  • Firefox (Developer Toolbar + Firebug)

The problem is that I hate using the eclipse navigation tree. For me it is a lot easier to go to the Terminal and do something like this:

$ eclipse /var/www/myproject/long/path/lib/Driver/Sql.php

The annoying part is that the eclipse window is not focused after this command.

I have to manually click on the eclipse window (using mouse... :@ grrr)

Anyway to force eclipse to be focused?

© Super User or respective owner

Related posts about linux

Related posts about ubuntu