idea

引入本地jar包

pom

  1. 根目录下新建libs文件夹
  2. 配置pom
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    <dependency>
    <groupId>com.vvf</groupId>
    <artifactId>com.vvf.learn.hello1</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <scope>system</scope>
    <systemPath>${project.basedir}/lib/com.vvf.learn.hello1-1.0-SNAPSHOT.jar</systemPath>
    </dependency>
    <plugin>
    <configuration>
    <mainClass>com.vvf.msbspringbootmybatis.Application</mainClass>
    <skip>true</skip>
    <includeSystemScope>true</includeSystemScope>
    </configuration>
    </plugin>

ProjectSettings

File -> ProjectStrure -> ProjectSetings -> libraries -> “添加”按钮

快捷键

shift f6 重命名

f11 设置书签
ctrl f11 设置书签-助记符
shift f11 显示书签

ctrl shift + 展开所有代码快
ctrl shift - 折叠
ctrl . 折叠/展开当前代码快