disable psi stubs indexing for files in directory

已回答

Hi - is it possible to disable indexing of externally-visible declarations for a particular file/directory? 

I can add the directory to the excludes, but that has certain other consequences, such as com.intellij.openapi.roots.FileIndex.isInContent returning false, which means the highlighting pass for unused imports etc doesn't operate.

I was looking for a way to inject some code into the stubs indexer...

0

Aside excluded directories there is no explicit possibility to avoid indexing.

It would be great to have better description what you want to achieve.

0

请先登录再写评论。