Search code examples
intellij-ideaintellij-plugin

How to go to next/previous member fields in IntelliJ, similar to the ReSharper feature


It's about something similar to the ReSharper feature "Go to Next/Previous Member", but inside IntelliJ (not this similarly named question)

The Alt+Up/Down in IntellJ is by default mapped to "Previous/Next Method", so it skips member variables, whereas ReSharper maps that to "Next/Previous Member", which obviously steps over everything, including fields and properties.

Is there any solution for IntelliJ to mimic ReSharper's feature, perhaps through a plugin or anything else?


Solution

  • This feature has been implemented and reverted because of negative feedback (https://youtrack.jetbrains.com/issue/IDEA-107538).

    This behavior can still be turned on by adding to "Help | Edit custom VM options":

    -Dide.structural.navigation.visit.fields=true