1 代码提示快捷键:
在Settings中搜索Class Name Completion
2 显示代码行数
Settings->IDE Settings->Editor->Appearance->Show line numbers
3 修改代码字体大小
Settings->IDE Settings->Editor->Colors & Fonts ->Font->Save As->改个名字后才能改字体大小
4 错误修正提示列表
Keymap->Other->Show Intention Action:默认是Alt+Enter
5 快速Overried方法
Keymap->Main menu->Code->Override Methods:需要自己设定
6 鼠标悬浮显示doc
Settings->IDE Settings->Editor->Show quick doc on mouse move
7 智能感知不区分大小写
Settings->搜索Sensitive 修改case sensitive complement 的值为none
8 单行注释快捷键设置
Setting –KeyMap–Main menu –code – comment with line comment,右键添加自己的快捷注释单行
- 自动导包和删除包
Setting –Editor–General – Auto Import ,勾选java下面的三个选项,并选择Insert imports on paste为All
本文详细介绍了编程过程中常用的快捷键设置、代码编辑器配置、错误修正提示、代码高亮显示等技巧,帮助开发者提高编程效率。
1万+

被折叠的 条评论
为什么被折叠?



