当前位置:网站首页>Common shortcut keys for Hello go (x) and GoLand
Common shortcut keys for Hello go (x) and GoLand
2022-06-11 17:54:00 【Tianshan old demon】
One 、Goland Shortcut key settings
GoLand Support shortcut key mapping of various editors :File->Settings->Keymap

Two 、GoLand Common shortcut key
1、 Search shortcuts
CTRL+N Find the class
CTRL+SHIFT+N Find files
CTRL+SHIFT+ALT+N Find methods or variables in a class
CTRL+B Quickly open the class or method at the cursor
CTRL+ALT+B Find all the subclasses
CTRL+SHIFT+B Find the class of the variable
CTRL+G Positioning line
CTRL+F Find the text in the current window
CTRL+SHIFT+F Find the text in the specified window
CTRL+R stay Replace text with current window
CTRL+SHIFT+R Replace text in the specified window
ALT+SHIFT+C Find the modified file
CTRL+E Recently opened files
F3 Look down where the keyword appears
SHIFT+F3 Where the last keyword appears
F4 Find the source of the variable
CTRL+ALT+F7 Find the place where the project appears with the selected character
CTRL+SHIFT+O The pop-up shows what to look for
ALT+F1 Find the directory where the file is located
CTRL+H Display class structure chart
CTRL+Q Show comment document
CTRL+SHIFT+I Briefly view the source definition
CTRL+SHIFT+P View the expression type ( Use... On or at the end of an expression )
2、 Automatic code
Alt+Enter Import package , Auto fix
CTRL+ALT+L formatting code
CTRL+ALT+I Automatic indentation
CTRL+ALT+O Optimize imported classes and packages
ALT+INSERT The generated code ( Such as GET,SET Method , Constructors, etc )
CTRL+SHIFT+SPACE Autocomplete code
CTRL+ Space Code hinting
CTRL+ALT+SPACE Class name or interface name hint
CTRL+P Method parameter prompt
CTRL+J Automatic code
CTRL+ALT+T Put the selected code in TRY{} IF{} ELSE{} in
SHIFT+F6 restructure - rename
CTRL+I Implementation interface
CTRL+SHIFT+Space Intelligent type inference returns (return Use after keyword )
CTRL+ALT+V Automatically generate the return value of the expression
CTRL+ALT+M The refactoring expression is a function ( The cursor is at the end of the expression )
CTRL+Space Fast return implementation (return Use after keyword )
3、 Copy shortcut
CTRL+D Copy line
CTRL+X shear , Delete row
4、 Other shortcuts
CIRL+U Case Toggle
CTRL+Z backward
CTRL+SHIFT+Z forward
CTRL+ALT+F12 Explorer opens the folder
SHIFT+ALT+INSERT Vertical editing mode
Ctrl+/ Comment or uncomment the current line of code
Ctrl+Shift+/ Add... At the current cursor position /**/ Or will /*xxxx*/ Content uncomment
CTRL+W Select the code , Continuous pressing will have other effects
ALT+ ←/→ Switch code view
CTRL+ALT ←/→ Go back to where you last edited
ALT+ ↑/↓ Move quickly between methods
ALT+1 Quickly open or hide engineering panels
CTRL+SHIFT+UP/DOWN Code up / Move down .
CTRL+UP/DOWN The cursor jumps to the first or last line
ESC The cursor returns to the edit box
SHIFT+ESC The cursor returns to the edit box , Close useless windows
ALT+J Multiple choice of the same word
CTRL+SHIFT+A Tool call
Ctrl+PageUp/PageDown The cursor jumps to the first or last line
边栏推荐
- 聚类方法汇总
- Service learning notes 01 start method and life cycle
- Mathematical foundations of information security Chapter 3 - finite fields (II)
- 【先收藏,早晚用得到】100个Flink高频面试题系列(三)
- 6-7 文件读写操作
- Tidb lightning configuration data restore route
- Merge K ascending linked lists ---2022/02/26
- Using packstack to quickly install openstack
- Online excel file parsing and conversion to JSON format
- 光纤熔接知识汇总【转载自微信公众号弱电智能化工程2018】
猜你喜欢

zabbix怎样自定义mysql监控项并触发告警

MFSR:一种新的推荐系统多级模糊相似度量

送给大模型的「高考」卷:442人联名论文给大模型提出204个任务,谷歌领衔

安装mariadb 10.5.7(tar包安装)

ffmpeg硬编解码 Inter QSV

Line up to pick up the express. At this meeting, I sorted out all kinds of code sets

【深度学习基础】神经网络的学习(3)

Delete the penultimate node of the linked list ---2022/02/22

【先收藏,早晚用得到】100个Flink高频面试题系列(一)

光纤熔接知识汇总【转载自微信公众号弱电智能化工程2018】
随机推荐
Using packstack to quickly install openstack
Mathematical basis of information security Chapter 1 - Division
[collect first and use it sooner or later] 100 Flink high-frequency interview questions series (I)
Simple understanding of events
How to simplify a lot of if... Elif... Else code?
【先收藏,早晚用得到】100个Flink高频面试题系列(二)
Semaphore PV operation of process interaction and its code implementation
Line up to pick up the express. At this meeting, I sorted out all kinds of code sets
adb 命令学习笔记
System learning typescript (V) - joint type
sql server中移除key lookup书签查找
Mathematical foundations of information security Chapter 3 - finite fields (II)
[collect first and use it sooner or later] 49 Flink high-frequency interview questions series (I)
Mathematical basis of information security Chapter 2 - congruence
安装mariadb 10.5.7(tar包安装)
spawn ./ gradlew EACCES at Process. ChildProcess._ handle. onexit
Service learning notes 04 other service implementation methods and alternative methods
which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_ mod
端口规划与APJ
关于元素位置和尺寸