Idea背景图片设置
-
Live Template
私人定制你自己常用的代码片段.
使用快捷键ctrl + alt + s
打开开发工具idea
的设置页面直接搜索Live Templates
, 然后按下图处理。
使用方法:
- 在Java代码中输入,
pm
然后enter
键即可完成template text
中内容的添加。
在使用
Idea
导入项目时候,一定要选中项目的pom.xml
文件来导入。而不是选中文件夹来导入,否则可能会出现异常不能加载主类
。-
Idea 调试程序快捷键
-
Debug
生成 setters and getters:alt + insert
关闭文件:ctrl + F4
Search Everywhere:double shift
Go to file:ctrl + shift + N
Recent Files:ctrl + E
引入相关的类:alt + enter
复制当前行:ctrl + D
或者ctrl + Y
代码字体,字体大小设置
鼠标移到方法上时显示方法注释
-
Eclipse常用快捷键
- eclipse 中
ctrl +shift + i
, 在IdeaJ
中是alt + 鼠标左键
- eclipse 中
alt + 向左
: 上一个位置,alt + 向右
: 上一个位置
- Mybatis配置文件在Idea中SQL显示为
黄色
问题解决
- File -> Editor -> Inspections -> SQL ->
disable
掉No data sources configured; SQL dialect detection
- File -> Editor -> Color Schema -> General -> Code -> Injected language fragment
disable
调Background
- Idea中的一些快捷键的修改
- 具体要修改的快捷键如8中所示,要修改自己
IdeaJ
符合自己的使用习惯。
Idea实现Serializable接口的时候,生成
serialVersionUID
,这是使用插件Save Action
就可以解决Idea 常用插件
- Rainbow Brackets
- lombok
- Eclipse Code Formatter
- Free Mybatis plugin
- Save Actions
- .ignore
- AsciiDoc
- Batch Script Support
- Galizur Theme
- GitToolBox
- Go
- Go template
- jclasslib Bytecode Viewer
- Json Formmater
- Prettier
- Protocol Buffer Editor
- Maven Helper