Navigation

We can navigate between mapper interface and mapper XML (annotation) easily with the help of the plugin. There are two ways to navigate between elements:

  • Use gutter icons
  • Use shortcuts

You're suggested to use shortcuts to navigate between elements because it's more efficient.

Use gutter icons

It's easy to navigate between elements using gutter icons, all you need to do is left-click them. All elements will be listed if a mapper interface element has many corresponding XML (annotation) elements.

Gutter icon from mapper interface to mapper XML (annotation):

gutter icon from mapper interface to mapper xml

Gutter icon from mapper XML (annotation) to mapper interface:

gutter icon from mapper xml to mapper interface

You can also use the id attribute value to navigate to mapper interface.

Use shortcuts

Shortcuts are more efficient to navigate between elements than gutter icons.

The default shortcuts to navigate from mapper interface to mapper XML (annotation) is the same as Go to Implementation(s), that's ⌘ + ⌥ + B on Mac and Ctrl + Alt + B on Windows.

The default shortcuts to navigate from mapper XML (annotation) to mapper interface is the same as Go to Declaration, that's ⌘ + B on Mac and Ctrl + B on Windows.

Codes Magic © 2013-2018 · Terms