Highlight implemented methods of interface in file
Answered
I am already aware of this https://intellij-support.jetbrains.com/hc/en-us/community/posts/206923875-Highlight-implemented-methods-of-interface-class?input_string=Highlight%20implemented%20methods%20of%20interface but it's not what I want for 2 reasons:
First it's cumbersome. Netbeans for example does this just by placing the editor caret on the interface reference.
Second, it doesn't work as needed. It highlights the methods from all interfaces and the class I am currently looking at implements 8 of them. So what's the value of it? I want to see only the methods of one. Otherwise it's pointless.
Is there a solution or workaround for this?
I am using IntelliJ 2017.1.3
Thanks
Please sign in to leave a comment.
Ctrl+Shift+F7 on the implements keyword allows to choose which interface methods to highlight:
Hello Serge and thanks for responding that quickly.
OK so here is what happened to me: I double clicked the implements keyword and that's why I couldn't see the list. Instead the find action was triggered.
Second problem: when I click on the implements keyword, it seems that the editor automatically highlights all the methods. I need to move the cursor out of the keyword to see the desired methods.
Anyway, how can I make a feature request for this to work automatically (and avoid the list) when Ctrl+Shift+F7 is pressed and the caret is on an interface after the implements keyword?
Thanks
Requests can be submitted at https://youtrack.jetbrains.com/issues/IDEA.
For anyone who lands this page and might be interested, I've created an issue here
Hey Guys, I'm curious, is there a similar option for Kotlin? Because Kotlin uses ":" instead of "implements" keyword.
The best place for Kotlin specific questions is https://discuss.kotlinlang.org/ .