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)
Navigate-to-File.jpg

Is there a way to access this background functionality of the Navigate to file dialog?

2 comments

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.

0

see com.intellij.ide.util.PsiElementModuleRenderer


0

Please sign in to leave a comment.