Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Index & AST

On Thu, Jun 24, 2010 at 11:35 AM, Alena Laskavaia <elaskavaia.cdt@xxxxxxxxx> wrote:
I have  a bug
Is it true that we cannot not do anything about the fact that global
index is not updated before you save the file?

Although the index reflects the state of saved files only, it is possible to get ASTs for all dirty editors. When an index returns a file location corresponding to a dirty file, it should not be taken for the face value, but instead used as a trigger to do additional lookup in the AST of the corresponding dirty file. This is how the C/C++ Search works.

cdt-dev mailing list

Back to the top