Getting "This view is not available until indices are built" message in tool window while indexing

Hello,

We have a tool window which shows a table in it. Then, we have added few files in project directory manually and IDE have started indexing. During the indexing, the tool window dialog is not sowing anything except the message "This view is not available until indices are built". The table is reloaded after indexing. What can be the possible reason? We are reloading the table in every 10 sec. Indexing will keep other threads on hold ? Please help!

 

Best Regards

Manoj K Nair

0
3 comments
Avatar
Permanently deleted user

Anyone, please consider it as urgent as I am stuck with it !!!

0

By default, toolwindows (and many other things) are supposed to use index and so disabled when the index isn't ready. You can declare your ToolWindowFactory DumbAware to declare your toolwindow doesn't need index or handles its absence correctly.

0
Avatar
Permanently deleted user

Thanks a lot. It helps !

0

Please sign in to leave a comment.