有些快捷键默认没有设置,我建议你打开Preferences > Key Bindings ,根据需要自行修改。
-
Command + / :注释/取消注释代码
-
Command + [ 或者 ] :向前或向后缩进代码
-
Command + 左右方向键:移动光标到行首或行尾
-
Control + s :选择单词(译注:默认没有设置。Key Bindings 对应的key是 Select Word)
-
Option + Command + e:(根据当前范围遍及选中的单词)(译注:默认没有设置,也不知道到底是个什么效果。)
-
Option + 左右方向键:按单词移动光标
-
esc:显示/隐藏自动补全弹出框。