How to find Jars for Class
Hi,
I am writing an IntelliJ plugin and I like to get the Jar for Class file name. The Navigate to file dialog provides those functionality but I don't know how I can access it with the Open API of IntelliJ.
Navigate to file dialog (CTRL + SHIFT + N)
Is there a way to access this background functionality of the Navigate to file dialog?
请先登录再写评论。
It's probably one of the file indexes, but I don't know off hand which one. However you can check the code in the Community Edition to see what it does, starting with GotoClassAction.
see com.intellij.ide.util.PsiElementModuleRenderer