Software Version: IntelliJ IDEA 2019.1.1 (Ultimate Edition)
Operating environment: JDK1.8, Tomcat8.0, Maven3.6
1.maven & tomcat configuration
2.xml file maven-import
3. The code hints case
File-Settings-Editor-General- Code Completion in
the top of the case sensitivity into none, the following hook-wide hit.
or
Check before removing the case
4. font zoom
5. Project Structure
6. Automatic error correction:
alt + enter
The automatic leader packet inspection
Settings → Editor → General → Auto Import
and then select the Add unambiguous imports on the fly and Optimize imports on the fly
8. code formatting shortcuts
ctrl+alt+l
9.idea working directory workingdirectory
Setting method:
Run -> Edit Configurations -> Working directory
The role of the working directory:
Tell the IDE where the entrance is a relative path, such as: filePath = "com / it / app.properties",
need to know what the root of the path that otherwise may not find the file corresponding to the program is running.
Value can be changed System.getProperty ( "user.dir") directory