[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] The defaults of "Index unused headers" and "Index source and header files opened in editor" preferences
|
> > It's strange. I thought that "Index source and header files opened in
> > editor" should be faster then "Index unused headers" cause the amount of
> > unused headers may be significantly more than amount of opened files.
>
> My understanding (from observing the behaviour, I don't know the code) is
> that "Index unused headers" will index all the unused headers once, when
> the project is created. This takes a long times, yes. But "Index source
> and header files opened in editor" reindexes a file every time it's opened
> in the editor, so it's a constant performance drain.
>
> This is incorrect. Each file is indexed only once in both cases.
What I experience when I have "Index source and header files opened in editor"
checked, is that every time I open a file, a "C/C++ Indexer" task appears in
the Progress view. This does not happen when I have the option turned off.
What is this task doing?
Regards,
Nate