当前位置:网站首页>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
边栏推荐
- tidb-写热点的测试及分析
- Semaphore PV operation of process interaction and its code implementation
- Initial egg framework
- 6-1 从文件读取字符串(*)
- 测试基础之:黑盒测试
- Foreach traverses collections and collection containers
- Tidb unsafe recover (tikv downtime is greater than or equal to half the number of replicas)
- Service learning notes 02- actual combat startservice and bindservice
- Initial experience of MariaDB spider sharding engine
- mariadb spider分片引擎初體驗
猜你喜欢

ffmpeg硬件编解码Nvidia GPU

Three steps of ffmpeg CBR precise bitstream control

Automated testing selenium

删除链表的倒数第N个节点---2022/02/22

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

Service学习笔记01-启动方式与生命周期

Expérience initiale du moteur de segmentation de l'araignée mariadb
![Intelligent overall legend, legend of wiring, security, radio conference, television, building, fire protection and electrical diagram [transferred from wechat official account weak current classroom]](/img/c7/2f4bdad149f547c1f651ed4bf93dee.png)
Intelligent overall legend, legend of wiring, security, radio conference, television, building, fire protection and electrical diagram [transferred from wechat official account weak current classroom]

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

使用exe4j 将.jar文件打包为.exe文件
随机推荐
6-2 多个整数的逆序输出-递归
upload-labs通关未半而中道崩殂
How ZABBIX can customize MySQL monitoring items and trigger alarms
6-3 reading articles (*)
Online excel file parsing and conversion to JSON format
Chorus翻译
[solution] codeforces round 798 (Div. 2)
Chorus translation
6-1 read string (*) from file
Speed adjustment of tidb DDL
6-6 批量求和(*)
Use of forcescan in SQL server and precautions
【线上问题】Timeout waiting for connection from pool 问题排查
7-1 are prime numbers
Test and analysis of tidb write hotspot
简单理解事件
which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_ mod
ffmpeg硬编解码 Inter QSV
[foundation of deep learning] learning of neural network (3)
Ffmpeg parity field frame interlace progressive command and code processing