如何在 Eclipse 中使用 RSE 插件?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4131015/
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
How to use RSE plugin in Eclipse?
提问by Nathan Osman
I installed the RSE pluginin Eclipse intending to either use SSH or FTP to work with files on a remote machine. I set up both an SSH and FTP connection, but neither works.
我在 Eclipse 中安装了RSE 插件,打算使用 SSH 或 FTP 来处理远程机器上的文件。我设置了 SSH 和 FTP 连接,但都不起作用。
For example, here is what happens when I connect using FTP:
例如,以下是我使用 FTP 连接时发生的情况:
As you can see, the directories on the server show up, but I can't do anything with them. No sub-folders are showing up and none of the files can be opened.
如您所见,服务器上的目录显示出来,但我无法对它们做任何事情。没有子文件夹显示出来,也没有任何文件可以打开。
I'm completely new to Eclipse, (though certainly not new to working with FTP) so I really don't know what to do to get this working.
我对 Eclipse 完全陌生(虽然肯定不是使用 FTP 的新手)所以我真的不知道该怎么做才能让它工作。
Also,is there any way to use this with the PHP perspective at all?
另外,有什么方法可以将它与 PHP 的观点一起使用吗?
采纳答案by Ozgur Ozcitak
First, make sure you are using the latest update site for RSE. In Eclipse, go to Preferences >> Install/Update >> Available Software Sitesand check that the update site for RSE is listed correctly and it is enabled. You can learn the latest update site from the Target Management Home Page(look for an update site link next to the latest release announcement).
首先,确保您使用的是最新的 RSE 更新站点。在 Eclipse 中,转至首选项 >> 安装/更新 >> 可用软件站点并检查 RSE 的更新站点是否正确列出并已启用。您可以从Target Management 主页了解最新的更新站点(在最新发布公告旁边查找更新站点链接)。
Once you do that, you must also have the RSE Coreplugin enabled in addition to SSH or FTP services. In Eclipse, go to Help >> Install New Software. Expand the TM and RSE Uncategorizedcategory and install the RSE Coreplugin.
完成此操作后,除了 SSH 或 FTP 服务外,您还必须启用RSE Core插件。在 Eclipse 中,转到Help >> Install New Software。展开TM 和 RSE Uncategorized类别并安装RSE Core插件。
You should now see sub-folders, and have more options on the remote folder right-click menu. You can, for example create a remote project or import remote folders into your current project.
您现在应该看到子文件夹,并在远程文件夹右键单击菜单上有更多选项。例如,您可以创建远程项目或将远程文件夹导入当前项目。
回答by Sam Rastin
Your problem might be associated with the "Show files only" checkbox. In the Remote Systems perspective right-click on "Sftp Files" and try to create a new connection. In the "File Filter" dialog window make sure the "Show files only" checkbox is not checked.
您的问题可能与“仅显示文件”复选框有关。在远程系统透视图中右键单击“Sftp 文件”并尝试创建一个新连接。在“文件过滤器”对话框窗口中,确保未选中“仅显示文件”复选框。