问题描述
我正在使用Eclipse Neon,我想在Eclipse的外壳程序/终端上执行系统命令。
I am using Eclipse Neon, and I would like to execute system commands on a shell/terminal, inside Eclipse.
特别是,我将需要使用在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.
推荐答案
在某些Eclipse软件包中,例如STS或Eclipse for JEE Developers,终端已经安装在IDE中。如果没有,您可以从Eclipse * / release更新站点安装 TM Terminal ,如下图所示。
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.
打开命令提示符(shell或终端) ),使用Eclipse中项目目录的路径,只需选择文件夹,然后按Ctrl + Alt + T,或右键单击并选择在本地终端中显示>终端。
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.
然后,终端将在Eclipse内部以新视图打开。
Then, the terminal will open in a new view inside Eclipse.
这篇关于如何在Eclipse中运行系统外壳/终端?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!