Search code examples
android-studiokeymapping

Android Studio - jump back and forth between matching braces using a single key sequence


I had to move from Eclipse to Android Studio for Android development. Many features are better, several are worse. In particular I miss the jump between matching braces (opening -> closing brace and v.v.) by means of a single key sequence.

I managed to find that CTRL ] takes you from the opening brace to the closing one, CTRL [ takes you from closing to opening brace. If the wrong [ or ] symbol is used when you ara already at an opening or closing brace, then the editor jumps to the next brace of that type.

Is there any key sequence which jumps between matching braces, like Eclipse does?


Solution

  • I think you want

    • Ctrl+}

    • Ctrl+{

    these move to the open and close brackets.

    You want a single combination to do both?

    Use Ctrl + shift + M

    Reference