Intellij IDEA 常用 设置 及 快捷键 (持续更新)
2024-08-21 11:52:32
Transparent native-to-ascii conversion以下设置都可以通过 设置中的搜索框 进行关键字搜索
0, 打开Project 设置
Command + ;
1, 打开Module设置
Command + ,
3, 显示当前文件结构
Command + 7
4, 多行注释
control + shift + /
5, 单句代码提示(补全关键字)
control + space
6, 整句智能提示
control + shift + space
7, 折叠当前方法
Command + .
8, 删除当前行
Command + delete
9, 剪切当前行
Command + x
10, 运行
control + r
11, 编译
Command + F9
12, Debug
control + d
13, 运行
control + r
14, 在下方插入一行
Command + enter
15, 快速插入常用方法
control + enter / Command + n
16, 快速选中代码(从光标行 上下 对称选中)
alt + 上/下
17, 移动选中代码
alt + shift + 上/下
18, 访问光标处代码的 定义
Command + b
19, 返回上一个编辑的文件
Command + [
20, 回到下一个编辑的文件
Command + ]
21, 切换 文件 tab(打开的文件)
Command + shift + [/]
22, 关闭当前tab
Command + w
23, 快速打开class文件
Command + o
24, 快速打开所有文件
Command + shift + o
25, 快速打开方法
alt + Command + o
26, 查看定义
Command + 下
28, 格式化代码
alt + Command + l
29, 快速插入方法 及 其他代码模板
Command + j
30, import 未引入的包alt + enter31, 批量删除未使用的importcontrol + alt + o32, 快速搜索shift*233, 查看javadoccontrol + 鼠标中键
//----------------- 设置 ---------------------
1, 显示行号Editor -> Appearance -> Show line Numbers2, 打开内存使用状态
Appearance&Behavior -> Appearance -> Show memory indicator3, 代码提示不区分大小写Editor -> General -> Code Completion -> Case sensitive completion -> None4, 关闭 类 nerver unused 警告(方法, 属性 以此类推)Editor -> Inspections -> Java -> Declaration redundancy -> Unused declaration -> On the fly editor setting -> 取消勾选 Check Classes5, 自动 导入/删除 importEditor -> Auto Import -> Java -> 勾选Optimize imports on the fly 和 Add unambiguous imports on the fly6, 设置Properties文件编码Editor -> File Encodings -> 最下方Properties Files 选择UTF-8编码,勾选 Transparent native-to-ascii conversion
最新文章
- C#中实现并发的几种方法的性能测试
- malloc 函数工作机制(转)
- Git笔记1
- jQuery源代码学习之五——jQuery.when
- 2015弱校联盟(1) - C. Censor
- AngularJS-入门篇
- go循环
- js方法控制html表格的增加和删除
- 自适应游标共享技术01(Adaptive Cursor Sharing)
- hdu 3157 Crazy Circuits 有源汇和下界的最小费用流
- wind7下搭建ftp服务器
- html+css基础
- svn 常用控制台命令解析
- 关于web测试收集
- service注入失败
- Intel Code Challenge Final Round (Div. 1 + Div. 2, Combined) B. Batch Sort 暴力
- 状态保持以及AJAX的初步学习
- idea &; datagrip 注册码
- Train-Alypay-Cloud:mPaaS 移动开发平台培训(第一次)
- dirname(__FILE__) 的使用总结 1(转)