光标变粗解决方法:
对于我的电脑,按一下insert键变回原来的样子
新建类的快捷键:
Alt + Insert
pom.xml注释:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!--自己项目的坐标(gav)-->
<groupId>com.bjpowernode</groupId>
<artifactId>ch01-test01-maven</artifactId>
<version>1.0</version>
<name>ch01-test01-maven</name>
<!-- FIXME change it to the project's website -->
<url>http://www.example.com</url>
<properties>
<!--maven构建项目使用的是utf-8,避免中文的乱码-->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!--编译Java使用的jdk版本-->
<maven.compiler.source>1.8</maven.compiler.source>
<!--你的Java项目应该运行在什么样的jdk版本-->
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<!--依赖-->
<dependencies>
<dependency>
<!--单元测试-->
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
</dependencies>