简体   繁体   中英

Remote search not working in eclipse RSE

I'm trying to search for a string in eclipse. I'm currently connected to a remote linux server using RSE. but the search doesn't yield any results. I'm sure that the string is present in some of the files in the directories I'm searching in. I have search in sub-folder options checked. Any setting I need to change for it search successfully? Thanks in advance!

Which version of Eclipse are you using and which protocol do you use for your connection (ssh, ftp, or dstore)? In addition, it would be good to know which kind of project you are working on (Java, C/C++, ...). From what you stated in your question, I would guess that your project is not fully indexed yet so that most of the files are not being searched. Try rebuilding your index and see if this helps.

You are best advised to permanently forget about searching in remote repositories using Eclipse RSE. Remote Search requires running a dedicated daemon on the remote server , so unless you own the server and have root access (necessary for launching daemons and opening ports on the firewall), remote searching functionality will be unavailable to you, full stop.

It eludes me why RSE doesn't just use find | grep over SSH. </rant>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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