Intellij IDEA

Intellij 使用,持续更新

创建testcase

You may easily override methods of the base class by pressing Ctr1+0(Code I Override Methods).
To implement methods of the interfaces that the current class implements(or of the abstract base class), use Ctr1+I(Code I Implement methods).

Other Setting设置后来所有新建project的设置,在此可以设置关联的maven程序和repo

from zero 创建项目:

  1. 新建项目目录->open 这个目录->

  2. 在文件夹下新建pom.xml,点击右侧maven project的加号,将pom.xml加入intellij托管

  3. 新建src->main->java 和src->test->java

  4. 右击java目录,选择make directory as Sources Root. 另外还有Resources Root,Test Source Root

  5. 建立package:ink.moshuier.motse.rule.service->右击上侧路径中的rule->新建entity

右击文件
->copy path
系统绝对路径
->copy reference

div.container + table键