1.配置git与github(用于将代码提交到GitHub)
添加自己的github账号
2.提交代码到github
登录https://github.com,即可看到刚刚提交到github的代码仓库
3.idea设置默认文件注释信息
示例:
/** * @Author: wangmengmeng * @Date: ${DATE} ${HOUR}:${MINUTE} * @Description: */
展示效果:
4.设置maven对所有项目生效
file >> other settings >> setting for new project... 搜索框搜索maven
5.ctrl+shift+R 快捷键 :可以根据接口名查找接口方法所在的.java文件
6.点击如下的图标可以定位当前文件所在路径
7.idea远程调试spring-boot项目
首先在服务器上查到服务进程
然后在idea中进行如下设置后点击debug即可:
8.自动补全当前语句的分号
ctrl + shift + enter
9.设置匹配时不区分大小写:去掉图中的勾选
10.设置鼠标悬浮提示
11.鼠标定位到下一行:shift+enter
12.快速生成构造器、get、set方法:alt+insert
13.IDEA无法从mapper方法直接点进xml文件的解决办法
14.ctrl+shift+n:快速查找文件