如何在 Eclipse 中运行系统 shell/终端? [英] How to run system shell/terminal inside Eclipse?

查看:27
本文介绍了如何在 Eclipse 中运行系统 shell/终端?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Eclipse Neon,我想在 Eclipse 内的 shell/终端上执行系统命令.

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 终端,如下图所示.

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.

要使用 Eclipse 中项目目录的路径打开命令提示符(shell 或终端),只需选择文件夹,然后按 Ctrl+Alt+T,或右键单击并选择 Show In本地终端 > 终端.

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 中运行系统 shell/终端?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆