Especially refugees from Eclipse often complain about an unusual NetBeans workflow - e.g. after start and in various
unexpected moments later, the IDE is blocked by refreshing itself and not ready to assist user with whatever the
user is doing. To help these people and also to evaluate general suitability of this approach we need two things:
1. an hook to allow code injection
2. a module to inject appropriate code (available on autoupdate).
The whole approach has been discussed deeply at scanning meeting
and seems to be technically achievable. Thus this issue exists almost solely for tracking purposes.
 As soon as one switches from external application to NetBeans IDE. As soon as misconfigured project is compiled.
I would very like to change this to a TASK and I hope nobody strongly objects. I understand the requirements voiced in
this issue and I agree that they are worth implementing in order to allow further evaluation of the whole concept of
switching off the automatic scanning/indexing. The current plan (after M2 stabilization is over) is to move the indexing
part of Parsing & Indexing API, which has so far been developed in jet-parsing-api clone, to Nb70 trunk. Alongside with
that we will rewrite java indexing to use the new indexing API. Then if all goes well we should be able to provide a
private hook  for your module . But we are in absolutely no position to spend resources on developing the module
or evaluating the main concept.
I believe we can move forward and start experimenting with this. You can implement IndexingActivityInterceptor and
provide your implementation in the default Lookup. There is also IndexingManager, which provides methods for reindexing
files/roots. You are going to need an implementation dependency on parsing.api module.
*** Issue 162888 has been marked as a duplicate of this issue. ***
Integrated into 'main-golden', will be available in build *200904220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Pavel Flaska <email@example.com>
Log: #158177: Allow to skip file refreshes when property is set. Used by experimental module contrib/scanondemand.