用于匹配括号的IntelliJ IDEA快捷键映射 [英] IntelliJ IDEA shortcut keymap for matching brace

查看:703
本文介绍了用于匹配括号的IntelliJ IDEA快捷键映射的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

导航到IntelliJ IDEA中匹配括号的键盘映射是什么?

What is the keymap for navigating to the matching brace in IntelliJ IDEA?

public void blah() {|
   ...

}

如果 | 是我的光标,我想用这个键映射跳转到右大括号。

If | is my cursor, I would like to jump to the closing brace with this keymap.

推荐答案

<我只用IntelliJ 9验证了这一点,但是:

I've only verified this with IntelliJ 9 but:

在Windows上:


  • Ctrl + } 将移至关闭
    括号。

  • Ctrl+} will move to the close bracket.

Ctrl + {将移至开放式括号。

Ctrl+{ will move to the open bracket.

在Mac上:


  • 使用 cmd 代替 Ctrl

  • Use cmd instead of Ctrl.

这篇关于用于匹配括号的IntelliJ IDEA快捷键映射的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆