Make a JS function to be considered "used" without adding a reference to anything?
Answered
Can I force the default export of a JS file to be considered "used" without actually adding a reference to anything?
I want my references to always point to the containing PsiFile, but if the file is referenced from my PageReference then the default export is definitely used.
I want to avoid having both the file, and the default export showing up as declarations when I Ctrl+Click on the usage
Please sign in to leave a comment.
See EP com.intellij.codeInsight.daemon.ImplicitUsageProvider