I use "Navigate-Declaration" all the time in IntelliJ IDEA. I would like to configure it to behave somewhat differently when using split editors.
The basic usage example is simple:
- Start using IntelliJ IDEA with an open class only, name it "ClassA". ClassA has a link to ClassB.
- Use “Navigation → Declaration” to go to ClassB. IntelliJ will open a new tab for ClassB and display this class in the editor window. ClassA is no longer displayed in the editor.
- Use "Navigation → Back". The ClassA tab now appears again in a single editor window. Using keyboard shorcuts can be a very fast way to navigate your code.
However, when using a split window, things behave strangely:
- Open several class files in the editor window.
- Split the window (Tools-> Editor tabs-> split vertically).
- In the left group of tabs, go to an interesting section of code, that is, to which we want to refer for some time.
- In the group of tabs on the right side, place the cursor on the class that is referenced and select "Navigation → Declaration".
, IntelliJ , , . , , IntelliJ . , .
, " → " , , , .
, " → " IntelliJ, . , intelliJ , . , , .
- , "Navigate- > ". ? ?