当前位置:网站首页>IDEA常用的快捷键
IDEA常用的快捷键
2022-07-06 18:09:00 【胡阳阳Y】
1.快速生成main方法:psvm+Tab或main+Tab
2.快速生成System.out.println():sout+Tab
3.删除一行:Ctrl+Y
4.切换java文件(前提是工程有多个.java文件)
:Alt+右箭头或Alt+左箭头
5.复制选中行到下一行:Ctrl+D
6.撤销上一步操作:Ctrl+Z
7.取消撤销:Ctrl+shift+Z
8.将选中的行合并成一行:Ctrl+shift+J
9.查找类文件:Ctrl+N
10.显示文件结构:Ctrl+F12
11.显示当前文件夹路径:Ctrl+Alt+F12
12.显示当前类的继承层次:Ctrl+H
13.定位至下一个错误:F2
14.定位到前一个错误:shift+F2
15.展开代码:Ctrl+=
16.折叠代码:Ctrl+-
17.选中所有:Ctrl+A
18.复制:Ctrl+C
19.剪切:Ctrl+X
20.粘贴:Ctrl+V
21.定位到文件的某一行:Ctrl+G
22.选中的行多行注释:Ctrl+shift+/
23.选中的行注释或取消注释:Ctrl+/
24.运行当前文件:Ctrl+shift+F10
25.提示方法的参数:Ctrl+P
26.跳到文件尾:Ctrl+End
27.跳到文件头:Ctrl+Home
28.选中的行代码格式化:Ctrl+Alt+L
29.在当前文件进行文本查找:Ctrl+R
30.选中的行打断点或取消断点:Ctrl+F8
边栏推荐
猜你喜欢
Today's question -2022/7/4 modify string reference type variables in lambda body
从底层结构开始学习FPGA----FIFO IP的定制与测试
Gin 入门实战
LeetCode. 剑指offer 62. 圆圈中最后剩下的数
Appium automation test foundation uiautomatorviewer positioning tool
AcWing 361. 观光奶牛 题解(spfa求正环)
405 method not allowed appears when the third party jumps to the website
dvajs的基础介绍及使用
go-zero微服务实战系列(九、极致优化秒杀性能)
According to the analysis of the Internet industry in 2022, how to choose a suitable position?
随机推荐
How to manage distributed teams?
Send template message via wechat official account
Your cache folder contains root-owned files, due to a bug in npm ERR! previous versions of npm which
Dark horse notes - exception handling
免费白嫖的图床对比
AcWing 361. 观光奶牛 题解(spfa求正环)
Share a general compilation method of so dynamic library
长按按钮执行函数
移植DAC芯片MCP4725驱动到NUC980
Drag to change order
C语言实例_4
Telnet,SSH1,SSH2,Telnet/SSL,Rlogin,Serial,TAPI,RAW
golang 基础 —— 数据类型
Gazebo的安装&与ROS的连接
Js逆向——捅了【马蜂窝】的ob混淆与加速乐
THREE.AxesHelper is not a constructor
从零开始匹配vim(0)——vimscript 简介
Taro2.* applet configuration sharing wechat circle of friends
AI automatically generates annotation documents from code
Comparison of picture beds of free white whoring