Goland快捷键

警告
本文最后更新于 2021-04-01,文中内容可能已过时。
Goland(Windows)
Move Caret to Code Block End(将插入符移动到代码块末端) Ctrl+]
Move Caret to Code Block End With Selection(选择并将插入符移动到代码块末尾) Ctrl+Shift+]
Move Caret to Code Block Start Ctrl+[
Move Caret to Code Block Start With Selection Ctrl+Shift+[
Complete Current Statement(完成当前行) Ctrl+Shift+Enter
Delete Line Ctrl+Y
Delete to Word End Ctrl+Delete
Delete to Word Start Ctrl+Backspace
Down with Selection Shift+向下箭头
Goland(Windows)
Save As Ctrl+Shift+S
Save All Ctrl+S
Reload All from Disk Ctrl+Alt+Y
Goland(Windows)
Undo Ctrl+Z
Redo Ctrl+Shift+Z
Cut Ctrl+X
Delete Delete
Column Selection Mode(列编辑模式) Alt+Shift+Insert
Select All Ctrl+A
Extend Selection(扩展选择) Ctrl+W
Shrink Selection(缩小选择) Ctrl+Shift+W
Toggle Case(大小写切换) Ctrl+Shift+U
Goland(Windows)
Quick Definition(查看函数) Ctrl+Shift+I
Quick Documentation(查看文档) Ctrl+Q
External Documentation(跳转到pkg网站) Shift+F1
Parameter Info Ctrl+P
Type Info(类型信息) Ctrl+Shift+P
Context Info(用于游览代码时不知道哪个函数) Alt+Q
Error Description Ctrl+F1
Jump to Source(感觉和Ctrl+B效果一样) F4
Show Source(效果同上) Ctrl+Enter
Goland(Windows)
Details in Tree View(显示文件的日期和大小) Alt+Shift+\
Goland(Windows)
Back Ctrl+Alt+向左箭头
Forward Ctrl+Alt+向右箭头
Go to Type(转到类型) Ctrl+N
Go to File(转到文件) Ctrl+Shift+N
Go to Symbol(转到符号) Ctrl+Alt+Shift+N
Go to Line/Column(跳转到对应行) Ctrl+G
Next Highlighted Error F2
File Structure Ctrl+F12
Goland(Windows)
Override Methods Ctrl+O
Implement Methods(实现方法) Ctrl+I
Generate Alt+Insert
Insert Live Template Ctrl+J
Comment with Line Comment(单行注释) Ctrl+/
Comment with Block Comment(块注释) Ctrl+Shift+/
Reformat Code(格式化代码) Ctrl+Alt+L
Goland(Windows)
Basic Ctrl+空格
Goland(Windows) Goland(Windows)
Expand(展开) Ctrl+=
Expand Recursively(递进式展开) Ctrl+Alt+=
Expand All(展开全部) Ctrl+Shift+=
Collapse(折叠) Ctrl-=
Collapse Recursively(递进式折叠) Ctrl+Alt-=
Collapse All(折叠全部) Ctrl+Shift-=
Goland(Windows)
Refactor This Ctrl+Alt+Shift+T
Rename Shift+F6
Change Signature Ctrl+F6
Move F6
Coyp F5
Safe Delete Alt+Delete
Goland(Windows)
Introduce Variable Ctrl+Alt+V
Introduce Constant Ctrl+Alt+C
Introduce Field Ctrl+Alt+F
Introduce Parameter Ctrl+Alt+P
Extract Method Ctrl+Alt+M
Goland(Windows)
Run Shift+F10
Debug Shift+F9
Stop Ctrl+F2
View Breakpoints Ctrl+Shift+F8
Show Code Coverage Data Ctrl+Alt+F6
Goland(Windows)
Update Running Application Ctrl+F10
Step Over F8
Force Step Over Alt+Shift+F8
Step Into F7
Force Step Into Alt+Shift+F7
Smart Step Into Shift+F7
Step Out Shift+F8
Run to Cursor Alt+F9
Force Run to Cursor Ctrl+Alt+F9
Resume Program F9
Evaluate Expression Alt+F8
Quick Evaluate Expression Ctrl+Alt+F8
Show Execution Point Alt+F10
Goland(Windows)
Toggle Line Breakpoint Ctrl+F8
Toggle Temporary Line Breakpoint Ctrl+Alt+Shift+F8
Goland(Windows)
VCS Operations Popup Alt+`
Commit Ctrl+K
Update Project Ctrl+T
Rollback Ctrl+Alt+Z
Show Blame Details Alt+Shift+B
Branches Ctrl+Shift+`
Push Ctrl+Shift+K
Goland(Windows)
Restore Default Layout Shift+F12
Next Project Window Ctrl+Alt+]
Previous Project Window Ctrl+Alt+[
Goland(Windows)
Hide Active Tool Window Shift+Esc
Hide All Tool Windows Ctrl+Shift+F12
Close Active Tab Ctrl+Shift+F4
Jump to Last Tool Window F12
Maximize Tool Window Ctrl+Shift+引号
Goland(Windows)
Select Next Tab Alt+向右箭头
Select Previous Tab Alt+向左箭头
Goland(Windows)
Project Alt+1
Favorites Alt+2
TODO Alt+6
Structure Alt+7
Services Alt+8
Git Alt+9
Terminal Alt+F12

相关内容