intelij idea相关笔记--持续更新

一、快捷键:

Ctrl+F 文件内查找

Ctrl+Shift+F 全局查找

Ctrl+Shift+N 查找文件

Ctrl+Alt+← 返回上一步

Ctrl+Alt+→ 返回下一步

二、编译相关:

如果是maven的相关,但是需要引入本地的包编译,需要在pom.xml中增加以下内容:

<plugin>

<artifactId>maven-compiler-plugin</artifactId>

<version>3.7.0</version>

<configuration>

    <source>1.8</source>

    <target>1.8</target>

<compilerArguments>

<extdirs>WebContent\WEB-INF\lib</extdirs>

</compilerArguments>

  </configuration>

</plugin>

其中<extdirs>WebContent\WEB-INF\lib</extdirs>填写需要引入包的地址路径

 

 

猜你喜欢

转载自www.cnblogs.com/chengssblog/p/9208834.html