Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Order in which files are indexed (was: AbstractIndexerTask.parseLinkages)

I agree that it would be nice to start with the file in the editor that has focus, then index other open files, and after that the remaining files.

-sergey


On Fri, Sep 20, 2013 at 7:03 PM, Nathan Ridge <zeratul976@xxxxxxxxxxx> wrote:
> The urgent task mechanism is used to improve user experience when user
> starts a massive index rebuild and then opens a file that would be indexed
> only at the end of the rebuild. The editor asks PDOMManager to expedite
> indexing of the file opened in the editor.

Does the indexer give priority to files that are already open at the time
the indexer starts?

Bug 415486 [1] suggests it doesn't, and that's also been my experience,
but I find it surprising that we would give priority to files opened while
indexing but not to files that are already open.

Regards,
Nate

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=415486


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top