2

I have a project where everything is done through interfaces. In most of the cases these interfaces have only one implementation.

Q: Is there a way to setup IntelliJ IDEA to automatically jump to a method implementation if there is only one implementation to the interface that I am navigating to?

Example:

MyServiceInterface service = ...;
service.doWork();

I want to navigate directly to doWork() implementation when I click on it.

Sasha Shpota
  • 9,436
  • 14
  • 75
  • 148

1 Answers1

2

Place Cursor on the interface and pressing Ctrl + Alt + B navigate to the implementation directly If only 1 implementation is available.

Khalid Shah
  • 3,132
  • 3
  • 20
  • 39