Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run system shell/terminal inside Eclipse?

I am using Eclipse Neon, and I would like to execute system commands on a shell/terminal, inside Eclipse.

In particular, I will need to open the system shell using the path of the current project folder on which I'm working in Eclipse.

like image 614
psuzzi Avatar asked May 27 '17 19:05

psuzzi


People also ask

How do I run a Terminal in Eclipse?

TM Terminal A fully working command-line Terminal inside Eclipse. Just press Ctrl+Alt+T to open a local command prompt (Terminal).

How do I open Terminal in Eclipse Mac?

in Eclipse, if you go to Help->Eclipse Marketplace and search for 'terminal', you will see this plugin from Google. It launches a terminal inside in eclipse and to the location of the selected resource - does the trick.


2 Answers

In some Eclipse packages, like STS or Eclipse for JEE Developers, the Terminal is already installed in your IDE. If not, you can install the TM Terminal from the Eclipse */release update site, as you can see in the image below.

enter image description here

To open the command prompt (shell or terminal) using the path of a project directory inside Eclipse, you just need to select the folder, and press Ctrl+Alt+T, or right-click and select Show In Local Terminal > Terminal.

Then, the terminal will open in a new view inside Eclipse.

enter image description here

like image 126
psuzzi Avatar answered Oct 03 '22 00:10

psuzzi


The Eclipse IDE which I am working there is no Terminal is there. So I needed to add the plug in like this and it works fine when you try clicking Alt+Ctrl+T

Click on Help in Eclipse-->Eclipse Marketplace--> in Find box (Search terminal and Enter)--> You will see TM Terminal 4.0 Version and just install it.

You may need to restart afterwards

And finally you will be able to get the Terminal when you will type

Alt+Ctrl+T on Console.

like image 20
Rajesh Kumar Sahoo Avatar answered Oct 03 '22 02:10

Rajesh Kumar Sahoo