As IntelliJ IDEA mac novice, IDEA how to quickly build Java development environment? Today, Xiao Bian gave us some IntelliJ IDEA mac tutorial, want to know how to quickly build IDEA Java development environment? Come and learn it together with the small series!
Global JDK (default configuration)
Specific steps: the top toolbar File -> Other Settins -> Default Project Structure -> SDKs -> JDK
Example: The following figure is provided JDK directory step, and click OK to save.
Note: SDKs stands for Software Development Kit, JDK because IDEA supports a variety of development kits.
Similarly, the current project can set the JDK version love for each module in the project and Project Structure.
Global Maven (default configuration)
Specific steps: the top toolbar File -> Other Settings -> Default Settings -> Build & Tools -> Maven
Example: in theory, as long as the home directory can be configured with Maven, the actual development of recommended User Settins file.
Here reminder, address Apache Maven local repository is automatically generated, typically, it is recommended in the user directory of the C drive in the actual development of the local warehouse address you specify, to avoid cleaning up third-party security tools due to reinstall the system or while data loss. Maven configuration is very simple, delete the comment after a glance. Figure:
Open Maven artifact
Eclipse still use the Update command struggling children's shoes, please rushed to try Maven plug-IDEA offer the convenience of its operation will bring you an unprecedented feeling happy! !
Specific steps: the right side of the toolbar Maven -> click to expand a project or modules -> fast execution of Maven command.
Version Control Git / Svn (default configuration)
Specific steps: the top toolbar File -> Other Settings -> Default Settings -> Version Control -> Git
Instructions: IDEA default integrated support for Git / Svn directly set the execution procedure, the right of Test prompts can be successful.
Feedback question: There are some small partner, said feedback IDEA can not find svn.exe, solution: reinstall SVN, configuration item re-select the command line client tools can be.
Automatic and intelligent guide packages to remove (the default configuration)
Specific steps: the top toolbar File -> Other Settings -> Default Settings -> Auto Import
Instructions: In line to see a lot of people question why can not optimize the IDEA and Eclipse can lead package, this is not a low-end black thing, so he drawn to share with you how to optimize the IDEA guide package.
Tomcat Server (the current project configuration)
Many small partners can not find the beginning Tomcat configuration is actually very simple, container Tomcat or Jetty these are deployed, it will naturally think of Deployment, open the deployment configuration, you can see the configuration of the application server.
配置Tomcat方法: File -> Settings -> Deployment -> Application Servers -> Tomcat Server
For configuration, as shown below: