eclipse 如何通过ssh使用eclipse,让本地eclipse可以编辑远程项目?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/13169983/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 19:18:10  来源:igfitidea点击:

How to use eclipse with ssh, so that the remote projects can be edited by local eclipse?

javaeclipseeclipse-pluginssh

提问by HymanWM

I often use remote servers to store and run my Java projects. But this prevents me from using eclipse. So I have two questions:

我经常使用远程服务器来存储和运行我的 Java 项目。但这使我无法使用 eclipse。所以我有两个问题:

  1. Can I use my local eclipse manage the Java projects on the remote servers ? ( I usually use sshto access the servers )

  2. If there is a solution for question 1, then is it possible that the Java programs run on the remote server also ? (i.e. only the GUI of eclipse is shown local)

  1. 我可以使用本地 eclipse 管理远程服务器上的 Java 项目吗?(我通常ssh用来访问服务器)

  2. 如果问题 1 有解决方案,那么 Java 程序是否也可能在远程服务器上运行?(即只有 eclipse 的 GUI 显示在本地)

For the second question, I know ssh -Xcan do this (run eclipse on the remote server), but it is too slow. Any ideas?

对于第二个问题,我知道ssh -X可以这样做(在远程服务器上运行 eclipse),但是它太慢了。有任何想法吗?

回答by Kane

RSE pluginis what you are looking for.

RSE 插件正是您要找的。

There is an articleto introduce it.

一篇文章介绍一下。