Is there a plugin to provide an "open terminal here" option when right-clicking on a folder in Eclipse? I found this, but it only seems to work on Windows, and I'm using Ubuntu.
-
Consider also [this solution][1], which relies on Eclipse Remote System Explorer. [1]: http://stackoverflow.com/questions/1562600/is-there-an-eclipse-plugin-to-run-system-shell-in-the-console – Marco Trevisan Jun 19 '12 at 16:36
-
1in Eclipse-Preferences for tarlog 1.4.2 (which you linked to in your question body), I use this as "Open Shell command": `/usr/bin/nohup gnome-terminal --working-directory={0} &` , and for "Open Exlorer Command": `/usr/bin/nohup nautilus {0}` . Works for me. – knb Oct 23 '12 at 11:56
6 Answers
Easy shell definitely is the one you're looking for.
You can install it via Eclipse marketplace. If you don't have Eclipse Marketplace Client (e.g., you are using Eclipse Classic), you can install it: ["Install New Software..."] --> search for "Marketplace Client"

- 11,576
- 2
- 31
- 49

- 8,035
- 7
- 46
- 75
-
Unfortunately, all I use is Eclipse Classic, which appears to be the only platform where Marketplace is unavailable. – Cerin Nov 17 '10 at 21:52
-
@Chris S, it should work as well to directly add http://pluginbox.sourceforge.net as update site – Kane Nov 18 '10 at 06:12
-
-
2
-
easy shell is platform-independent, it launch system shell. It's excellent. – Honghe.Wu Feb 22 '13 at 05:16
-
Yes, here it is: http://code.google.com/p/openextern/
This is an eclipse plugin, which you can use to open a shell (either a command prompt - CMD or a linux shell), or a folder (windows explorer, nautilus, konqueror) from eclipse's resource navigator or package explorer.

- 30,779
- 11
- 72
- 106
-
2
-
Must have been a borked 3.4 Windows install. Tried adding it on a 3.5 Linux install, and it works perfectly. Thanks. – Cerin Nov 17 '10 at 21:51
-
-
Atlhough this has worked well for years, I found it apparently doesn't work at all in Unity with Eclipse 4.4. However, Easy Shell continued to work. – Cerin Apr 26 '15 at 17:45
To get an integrated terminal, try http://elt.googlecode.com

- 21,755
- 5
- 88
- 103
-
2
-
I installed it Windows 7, but alas it doesn't work; should have read the fine print that said it won't not work for windows :( – Darwyn Jan 27 '13 at 19:22
There is an Incubator project called Local Terminal. You can install it from the Eclipse update site under General Purpose Tools->Local Terminal
Much better then http://elt.googlecode.com

- 3,359
- 1
- 29
- 40
Sorry, I don't know any plugin which integrates that, except for this one. You might be forced to modify tarlog.
I've had a look at the code of tarlog. You could have a look at the OpenCommandPrompt class (can be found in the tarlog package: tarlog.eclipse.plugins_1.4.2\src\tarlog\eclipse\plugins\openwe)
@Override
protected void doAction(String path) {
try {
File file = new File(path);
if (file.isFile()) {
File parentFile = file.getParentFile();
if (parentFile != null) {
path = parentFile.getAbsolutePath();
}
}
if (command.indexOf("{0}") >= 0) {
Runtime.getRuntime().exec(MessageFormat.format(command, path));
} else {
Runtime.getRuntime().exec(command, null, new File(path));
}
}
catch (IOException e) {
e.printStackTrace();
}
}
From what the code looks like it should work perfectly fine, as long as you specify the right executable in the preferences...

- 1,352
- 7
- 19