当前位置:网站首页>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
边栏推荐
猜你喜欢

Make Jar, Not War

Appium自动化测试基础 — uiautomatorviewer定位工具

域分析工具BloodHound的使用说明

【信号与系统】

Your cache folder contains root-owned files, due to a bug in npm ERR! previous versions of npm which

Right mouse button customization

字节P7专业级讲解:接口测试常用工具及测试方法,福利文

黑马笔记---异常处理
![[advanced C language] 8 written questions of pointer](/img/d4/c9bb2c8c9fd8f54a36e463e3eb2fe0.png)
[advanced C language] 8 written questions of pointer

shell脚本快速统计项目代码行数
随机推荐
Transformation transformation operator
hdu 4661 Message Passing(木DP&组合数学)
Make Jar, Not War
AI 从代码中自动生成注释文档
2022 Google CTF segfault Labyrinth WP
curl 命令
json学习初体验–第三者jar包实现bean、List、map创json格式
THREE. AxesHelper is not a constructor
AcWing 1142. Busy urban problem solving (minimum spanning tree)
Match VIM from zero (0) -- Introduction to vimscript
Table table setting fillet
Telnet,SSH1,SSH2,Telnet/SSL,Rlogin,Serial,TAPI,RAW
Byte P7 professional level explanation: common tools and test methods for interface testing, Freeman
Taro2.* applet configuration sharing wechat circle of friends
JS reverse -- ob confusion and accelerated music that poked the [hornet's nest]
grep查找进程时,忽略grep进程本身
What does front-end processor mean? What is the main function? What is the difference with fortress machine?
免费白嫖的图床对比
Sword finger offer II 035 Minimum time difference - quick sort plus data conversion
黑马笔记---异常处理