Detecting when indexing is complete

Is there an easy way to detect that the indexing process is complete
from within a plugin?

Thanks,
Nathan.

3 comments
Comment actions Permalink

Hello Nathan,

See the DumbService class (and the DUMB_MODE topic in particular).

Is there an easy way to detect that the indexing process is complete
from within a plugin?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Great Dmitry, many thanks.
And while I have your ear, just one more question... is there a way to detect that the Update Project background process has completed too?
I've got as far as finding a reference to a Topic in a class called UpdatedFilesListener in AbstractCommonUpdateAction, but it can't find the source for the class, and it doesn't appear to be in any jars either.
Am I on the right track?

Cheers,
Nathan.

0
Comment actions Permalink

Hello Nathan,

UpdatedFilesListener is new in IDEA 11 as far as I can see. I don't think
we have a good API for that in 10.5.

Great Dmitry, many thanks.

And while I have your ear, just one more question... is there a way to
detect that the Update Project background process has completed too?

I've got as far as finding a reference to a Topic in a class called
UpdatedFilesListener in AbstractCommonUpdateAction, but it can't find
the source for the class, and it doesn't appear to be in any jars
either.

Am I on the right track?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.