Exclude implementations from "Go to implementation" popup

Can I exclude some implementations from “Choose implementation” popup? I found com.intellij.codeInsight.navigation.actions.GotoImplementationAction but I don't understand how to use it.

0
3 comments

What do you need this for?

0

I have two implementations of SomethoningView.State. One of them is viewStateProxy in presenter. Another one is my Android Fragment. Navigation to viewStateProxy is useless because it places in same file that SomethoningView.State interface. I often want to go to Fragment but popup suggest me two options and it confusing because both looks similar.

0

I can't think of an API to exclude entries from this popup. However, if the navigation is always useless in this case, it probably could be excluded in the IDE itself. Please file an issue for Kotlin project at https://youtrack.jetbrains.com/newIssue with code samples.

0

Please sign in to leave a comment.