I'd like to write a plugin that adds a file-level inspection for files outside my user's java content root. I wrote a very simple InspectionToolProvider and LocalInspectionTool that does what I want, but I notice that it's only triggered for files in my project's java content roots. The "click to configure highlighting in this file" cop in the status bar has his head turned away for exactly the files I'd like to trigger this in, and there appears to be no way to switch it on.
The purpose of this inspection is to make it easy for users to pull files into their content root, and so it only really makes sense for files that are not in the content root. Is there any way to do this?