Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
IDEA stands for IntelliJ IDEA, is an integrated development environment for the Java language, it is a recognized currently for Java developers the best tools.
Integrated Environment: to write code, compile, execute, debug, and other functions integrated together development tools.
- Download: IDEA download official website
- Fool installation
- IDEA project structure: project-- module - package - class
(project similar eclipse of the workspace, the module is equivalent to the eclipse of the project)
project directory: out directory is compiled .class files stored
src directory is written in our store .java source file
shortcuts:
hot key | Features |
---|---|
Alt + Enter | Introducing package, automatic correction codes |
Ctrl+Y | Delete cursor line |
Ctrl+D | Copying the contents of the line cursor, the cursor position following insertion |
Ctrl+Alt+L | Formatting code |
Ctrl+/ | Single-line comments, press Cancel |
Ctrl+Shift+/ | Select the code comments, multiline comments, press uncommented |