IDEA为git项目开启git支持:
VCS->Enable Version Control Integration…
Git rebase相当于Svn update
file->setting->Editor->File and Code Templates->Includes->File Header
https://cloud.tencent.com/developer/article/1690955
设置快捷键模式为Eclipse模式
file->setting->Keymap
IDEA生成set、get方法,alt+Insert,然后选择
点击setting,Build,Execut, Deployment -> Compiler,勾选中左侧的Build Project automatically
setting,搜索Code Style->选择java,Scheme选为Project,然后将Tab size改为4就好
Ctrl+Alt+B打开实现类方法,比如打开ServiceImpl具体方法,这个快捷键也可以打开接口的实现类
http://www.cnblogs.com/sxdcgaq8080/p/7839114.html
http://blog.csdn.net/u013659732/article/details/50673753
Ctrl+Alt+H
Ctrl+shift+N
File->invalidate Cache
右键->Annotate
https://www.cnblogs.com/dfsu/p/11362594.html
右键->git->repository->Branches(查看)
右键->maven->show dependencies显示jar依赖图
settings-> Appearance & Behavior -> System Settings->去掉勾选reopen last project on startup
File->Project structure
点加号,Jar->From Modules from dependencies…
Build->Build Artifacts
“java.lang.SecurityException: Invalid signature file digest for Manifest main attrib…”异常:找到META-INF目录,将*.SF,.DSA,.RSA文件移除
META-INF版本号:找到META-INF 目录,然后编辑MANIFEST.MF
Unable to open debugger port (127.0.0.1:63491): java.net.SocketException “socket closed”
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
<!--版本根据你自己的版本写 -->
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<properties>
<skipTests>true</skipTests>
</properties>
<build>
<finalName>fileName</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
运行命令:
mvn clean package -Dmaven.test.skip=true