Is there a Shortcut in Pycharm or Sublime Text 2 f

2019-04-09 03:23发布

Is there a shortcut in Pycharm or Sublime Text 2 for jumping out of matching brackets and " or ' pairs?

Now I out it by press left, agony.

4条回答
戒情不戒烟
2楼-- · 2019-04-09 04:00

In Sublime Text 2, Ctrl+M works for () and [].

查看更多
Juvenile、少年°
3楼-- · 2019-04-09 04:03

There's no specific shortcut for this in PyCharm. You can use Ctrl-Left/Right (this works for word-by-word navigation in all contexts), or use Ctrl-W to extend the selection to the range you need and then press Left or Right to jump out of it.

查看更多
做自己的国王
4楼-- · 2019-04-09 04:04

There is plugin called "BracketHighlighter". Besides of highlighting brackets and quotes, it supports a bracket jumping by pressing Alt+Up/Alt+Down. Quite handy.

查看更多
Emotional °昔
5楼-- · 2019-04-09 04:06

Here is how I did it in Sublime:

{ "keys": ["shift+enter"], "command": "move", "args": {"by": "subword_ends", "forward": true} }

Shift-Enter breaks out of quotes and brackets, and Super-Enter creates a new line without breaking the current one

查看更多
登录 后发表回答