用于在远程文件中搜索的PHP IDE,无需将文件存储到本地 [英] PHP IDE for Search in remote file without store the files to local

查看:95
本文介绍了用于在远程文件中搜索的PHP IDE,无需将文件存储到本地的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何好的IDE可以从远程文件中搜索单词或短语而不先存储/同步到我的本地计算机?

Are there any good IDEs which can search for a word or phrase from the remote files without storing/synchroning to my local computer first?

我试过Aptana,但它似乎无法做到这一点,但远程文件系统是好的(不存储到本地)

I have tried Aptana, but it doesn't seem to be able to do this but, the remote file system is good(not store to local)

我尝试过Netbeans,这似乎总是如此首先将文件存储到我的本地计算机。

I have tried Netbeans, which seems to alway store files to my local machine first.

我希望那里有(最好是免费的)IDE可以在我的远程主机上搜索字符串吗?

I hoping that there are (preferably free) IDEs out there that can run searches for strings on the my remote host?

推荐答案

我看到三种可能的(常见)选项:

I see three possible (common) options:


  • 通过ssh连接并使用 vim 。我会这样做的。

  • 通过scp(Linux上的sshfs)或ftp(Linux上的curlftpfs)挂载远程文件系统。这将隐藏您的文件传输,但 将在后台完成。所以它与让IDE执行ftp工作非常相似

  • 让IDE(无论你喜欢什么)在远程主机上运行并使用RemoteDesktop或其他方式。

  • Connect via ssh and use vim. I would do that.
  • Mount the remote file system via scp (sshfs on Linux) or ftp (curlftpfs on Linux). This will hide file transmission from you but they will be done it background. So it's much the same as let the IDE do the ftp work
  • Have the IDE (whatever you prefer) running on the remote host and using RemoteDesktop or somewhat else.

我更喜欢ssh + vim :)

I prefer ssh + vim :)

使用ssh可能是最安全和通常的方法。使用FTP和Aptana的数据密集程度越低(期望Aptana只传输更改的文件)。 (这也可能取决于文件大小和情况,但我会说通常的代码文件)

Using ssh may be the most secure and usual approach. The less data intensive will be using FTP with Aptana as you already doing (Expecting that Aptana just transmitts changed files). (Also this may depend on the filesize and circumstances but with usual code files I would say so)

如果你在工作在Windows上 expandrive 可能是一种方法。它支持通过FTP,SSH或SFTP在Windows中安装远程服务器本地网络驱动器。 IDE会将该文件夹视为本地文件夹。你应该试一试。

If you are working on Windows expandrive might be an approach. It supports mounting remote servers a local netdrive in Windows via FTP, SSH or SFTP . An IDE would see that folder like a local folder. You should give it a try.

更新:试着解释更多....

Update: Trying to explain more....

如果你想在远程文件中搜索,你有两个一般选项:

If you want to search in a remote file, you have two general options:


  • 搜索程序运行本地并且需要来自远程(文件)的输入数据

  • serach程序远程运行。您将向其发送参数,它将发回搜索结果

没有其他选项。

在IDE中说它意味着:您使用IDE本身的搜索功能,意味着搜索程序(IDE)在本地运行,然后文件必须下载/ sychnronized / netmounted。或者您远程执行grep或其他任何操作并显示结果。然后它主要来到ssh。你的IDE需要一个ssh插件。例如,Eclipse有一个。 (想想要记住名称是RSE。远程系统资源管理器)(它也适用于Aptana)。

In IDE speaks it means: Either you use the search functionality of your IDE itself, means the search program (IDE) runs locally, then the file has to be downloaded / sychnronized / netmounted whatever. Or you execute grep or whatever remotely and display the results. Then it mostly comes to ssh. Your IDE will need a ssh plugin for that. Eclipse for example has one. (Think to remember the name was RSE. Remote Systems Explorer) (It will work with Aptana too) .

这篇关于用于在远程文件中搜索的PHP IDE,无需将文件存储到本地的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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