Hi Doug,
Sorry for an ambiguous reply. Let me try once again.
Since I have extended RSE (Remote System Explorer) and integrated local environment; Local machine acts just as an interface. Every process here runs on remote machine.
I dont maintain local copy
of any resource so those resources can not be indexed by CDT so the approach I thought of
- Indexing all the files on server and copying the generated files by indexer to local machine.
Server maintains the whole copy of the project and developer checks out few files as per the requirement and go for incremental build after the changes.
Again whatever files he checks out gets displayed in RSEs System View which is not linked with CDT so those files can not be indexed.
So do you see any way through which I can achieve indexing of files, displayed in RSEs System View?
Does CDT provides any extension point through which I can make use of CDT indexing for only those files in which is he making changes?
Thanks,
Vrushali.
"Schaefer, Doug" <Doug.Schaefer@xxxxxxxxxxxxx> wrote: Are you using the CDT to make those changes? The CDT reparses files as they change and adds the changes to the index. Remote update should be triggering resource change events for the files that change or lots of things don't work.
Also, I'm not sure what you mean by user does not maintain the whole copy of the project. What files show up in the Project Explorer? Everything that shows up there is indexed.
Doug.
Hi Doug,
Thanks for your reply.
Since indexed file is larger than the original file, i am fine with transfering it to local only once and referring it but what about the changes that i am doing in the remote file. How will I reflect those changes in the index file so that I shall get better search results even by considering just made changes.
Also, user does not maintain the whole copy of project. He just checks out the required files so how can we handle indexing only for those files?
Could you please suggest anything on these points?
Thanks,
Vrushali.
"Schaefer, Doug" <Doug.Schaefer@xxxxxxxxxxxxx> wrote:
This has been discussed often in the last year or so. My conjecture is that the size of the index is actually larger than the size of the source. And since the fast indexer only parses each file once, it's actually faster to keep the indexer local and access the files remotely.
But others have a different opinion.
Doug.
Hi,
CDT provides efficient indexing for local files.is there any way to achieve that indexing for remote files?
if CDT stores those indexed files somewhere and refers it to them later then how about a following approach - - having eclipse on remote server
- indexing all the
files on remote server with Eclipse CDT
- copy those generated indexed files from remote server and store them locally
- refer these files in case of any search demand.
Please correct if i am going wrong some where or if there exists any better option to which i can shift to.
Thanks,
vrushali.
_______________________________________________
cdt-core-dev mailing list
cdt-core-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-core-dev
_______________________________________________
cdt-core-dev mailing list
cdt-core-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-core-dev