当前位置:网站首页>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
边栏推荐
- 如何管理分布式团队?
- Appium自动化测试基础 — uiautomatorviewer定位工具
- Google发布安全更新,修复Chrome中已被利用的0 day
- 2022 Google CTF SEGFAULT LABYRINTH wp
- AcWing 345. 牛站 题解(floyd的性质、倍增)
- AcWing 346. 走廊泼水节 题解(推公式、最小生成树)
- ClickHouse字段分组聚合、按照任意时间段粒度查询SQL
- tansig和logsig的差异,为什么BP喜欢用tansig
- 736. LISP syntax parsing: DFS simulation questions
- 前置机是什么意思?主要作用是什么?与堡垒机有什么区别?
猜你喜欢

对C语言数组的再认识

Let's see how to realize BP neural network in Matlab toolbox

mongodb查看表是否导入成功

Gin introduction practice

AcWing 345. Cattle station solution (nature and multiplication of Floyd)

鼠标右键 自定义

AcWing 1148. 秘密的牛奶运输 题解(最小生成树)

Send template message via wechat official account

AI automatically generates annotation documents from code

爬虫实战(六):爬笔趣阁小说
随机推荐
分享一个通用的so动态库的编译方法
Byte P7 professional level explanation: common tools and test methods for interface testing, Freeman
Metauniverse urban legend 02: metaphor of the number one player
Today's question -2022/7/4 modify string reference type variables in lambda body
如何管理分布式团队?
Amway wave C2 tools
字节P7专业级讲解:接口测试常用工具及测试方法,福利文
Spark TPCDS Data Gen
Transplant DAC chip mcp4725 to nuc980
Drag to change order
js如何快速创建一个长度为 n 的数组
c语言—数组
1123. 最深叶节点的最近公共祖先
C language instance_ two
POJ 3177 Redundant Paths POJ 3352 Road Construction(双连接)
百度飞将BMN时序动作定位框架 | 数据准备与训练指南 (上)
设置Wordpress伪静态连接(无宝塔)
Instructions for using the domain analysis tool bloodhound
736. Lisp 语法解析 : DFS 模拟题
Yunna - work order management system and process, work order management specification