Sublime Text:将光标移动到长列表/字典的末尾。

huangapple go评论55阅读模式
英文:

Sublime Text: cursor move to end of long list/dictionary

问题

例如,代码中有一个非常长的列表或字典,我需要翻页才能到达列表或字典的末尾。

有没有一种便捷的方法可以让我到达列表或字典的末尾,而不是手动多次按“Page Down”键?

the_list = [
    "Liam",
    "Noah",
    ...
    ...
    ...
    "Oliver"]
英文:

For example there are very long list or dictionary in the code, that I need to flip pages to reach the end of the list or dictionary.

What's the convenient way that I can reach the end of the list or dictionary, instead of manually times of "Page Down"?

the_list = [
"Liam",
"Noah",
...
...
...
"Oliver"]

答案1

得分: 2

这可以通过使用“转到”菜单 -> “跳转到匹配括号” -> 默认情况下 Ctrl+M 来完成。在括号内部时,它会跳转到末尾/闭合括号。当在末尾括号时,它会跳转到开始/开放括号。

英文:

This can be done by using the Goto menu -> Jump to Matching Bracket <kbd>Ctrl+M</kbd> by default.
When inside brackets, it jumps to the end/close bracket. When at the end bracket it jumps to the begin/open bracket.

huangapple
  • 本文由 发表于 2023年8月10日 11:48:29
  • 转载请务必保留本文链接:https://go.coder-hub.com/76872536.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定