简体   繁体   English

如何在Eclipse中使用RSE插件?

[英]How to use RSE plugin in Eclipse?

I installed the RSE plugin in Eclipse intending to either use SSH or FTP to work with files on a remote machine. 我在Eclipse中安装了RSE插件 ,意图使用SSH或FTP来处理远程计算机上的文件。 I set up both an SSH and FTP connection, but neither works. 我设置了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视角中使用它?

First, make sure you are using the latest update site for RSE. 首先,确保您使用RSE的最新更新站点。 In Eclipse, go to Preferences >> Install/Update >> Available Software Sites and check that the update site for RSE is listed correctly and it is enabled. 在Eclipse中,转到首选项>>安装/更新>>可用软件站点,并检查RSE的更新站点是否已正确列出并已启用。 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). 您可以从目标管理主页学习最新的更新站点(查找最新版本公告旁边的更新站点链接)。

Once you do that, you must also have the RSE Core plugin enabled in addition to SSH or FTP services. 一旦这样做,除了SSH或FTP服务之外,还必须启用RSE Core插件。 In Eclipse, go to Help >> Install New Software . 在Eclipse中,转到帮助>>安装新软件 Expand the TM and RSE Uncategorized category and install the RSE Core plugin. 展开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. 例如,您可以创建远程项目或将远程文件夹导入当前项目。

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. 在Remote Systems透视图中,右键单击“Sftp Files”并尝试创建新连接。 In the "File Filter" dialog window make sure the "Show files only" checkbox is not checked. 在“文件过滤器”对话框窗口中,确保未选中“仅显示文件”复选框。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM