General
CMD+SHIFT+P
Toggle command palette 调出命令dialog
CMD+/
Comment line or selection 注释
CTRL+Space
Show available auto-completions : 被输入法占用 None
CTRL+SHIFT+L
Select grammar (set/change syntax) 选择编程语言
Find
CMD+F
Find in file
CMD+G
Find next
CMD+SHIFT+F
Find in project
CMD+E
Use selection for find 选择光标处一个单词 在find中
View / Window Manipulation
CMD+\
Toggle tree-view sidebar 显示关闭 树
CMD+CTRL+F
Toggle fullscreen
CMD+K, Arrow Key
Split pane left, right, up or down
CMD+K+Arrow Key
Focus pane left, right, up or down
File Navigation
CMD+P
CMD+T
Toggle file finder 调出 文件 dialog
CTRL+G
Go to line ctrl + g 到达指定行
CMD+R
Go to symbol
CMD+SHIFT+}
Next file 下一个文件
CMD+SHIFT+{
Previous file 上一个文件
CMD+F2
Set bookmark
F2
Go to next bookmark
Folding
CMD+alt+<
Fold current code block like Xcode 我自己改的
CMD+alr+>
Unfold current code block like Xcode 我自己改的
CMD+ALT+SHIFT+[
Fold all code blocks
CMD+ALT+SHIFT+]
Unfold all code blocks
CMD+1-9
Fold code blocks at depth 1-9
Word Manipulation
CTRL+T
Transpose characters either side of cursor 光标处两字母对调
CMD+<-
Delete text to beginning of word delete 光标处 到行首
ALT+K
Delete text to end of word delete 光标处 到行尾
Line Manipulation
CMD+]
Indent current line Move table <
CMD+[
Outdent current line Move table >
CMD+Return
Insert newline after current line 新起一行
CMD+SHIFT+Return
Insert newline before current line 行前 新起一行
CTRL+SHIFT+K
Delete current line CTRL+SHIFT+K 删除一行
CMD+CTRL+Arrow Up
Move current line up 移动 up 行
CMD+CTRL+Arrow Down
Move current line down 移动 Down 行
CMD+SHIFT+D
Duplicate current line 重复 行
CMD+J
Join current and next lines 链接一行
Selection
CMD+D
Select current word/token 选择一个单词
CMD+L
Select current line 向下选择一行
ALT+SHIFT+Arrow Left
Select to beginning of word
ALT+SHIFT+Arrow Right
Select to end of word
CMD+SHIFT+Arrow Left
Select to first character of line
CMD+SHIFT+Arrow Right
Select to last character of line
CMD+SHIFT+Arrow Up
Select to beginning of document
CMD+SHIFT+Arrow Down
Select to end of document
网友评论