Allow languages to plug a SPI to provide their own file index. Source groups covered by such a provider will not be handled by default file index (indexer + fs search of non indexed dirs).
Aren't this related to 182880?
*** Bug 182880 has been marked as a duplicate of this bug. ***
Created attachment 96472 [details]
GoTo File SPI
Vladimir can you look to the attached new SPI? If it's OK for you I will add the apichanges and create an apireview request tomorrow and possibly integrate it on the Friday.
The cnd will need to implement FileProvider which computeFiles(...,...) method should return true for roots handled by cnd and false otherwise. You will also need to remove ClassPath registration from the MakeProject.
The Implementation of FileProvider is similar to TypeProvider. You need to implement FileProviderFactory which creates a new TypeProvider for each GoTo File session. The TypeProvider has two methods cancel and computeFiles which are nearly the same as in TypeProvider or SymbolProvider. The only difference is that the computeFiles returns a bool as a result as the FileProvider shoud not do merges.
Fixed in jet-main: 9a59d1812167