The first use of some configuration Idea (JavaEE)

A, Javaweb develop basic configuration

  1. First, complete the installation of IDEA
  2. Find a disk storage to create a project folder (I created a folder idea-workspace on the desktop)
    Here Insert Picture Description
  3. Put in a pure idea-workspace archive folder and extract Tomcat
    Here Insert Picture DescriptionHere Insert Picture Description
  4. Create a new project JavaWeb
    Here Insert Picture Description
    Here Insert Picture Descriptionfind the folder location to build a workspace path
    Here Insert Picture Descriptionto create a Demo project, manually add the work area behind the project name, to avoid contamination of the work area, create a project after the system will automatically add the project name
    Here Insert Picture Description
  5. Configuring JDK
    Here Insert Picture Description
  6. Adding Tomcat configuration
    Here Insert Picture Descriptionjust a change of name
    Here Insert Picture Descriptionto specify the path Tomcat
    Here Insert Picture Descriptiondeployment project
    Here Insert Picture Description
    Here Insert Picture Description
    custom browser
    Here Insert Picture Description
    Here Insert Picture Description
    automatically refresh
    Here Insert Picture DescriptionTomcat in JDK JDK version to be consistent with the project
    Here Insert Picture DescriptionHere Insert Picture Description
  7. Methods and classes comment template
    class comment template: Select File-> Settings-> Editor-> File and Code Templates-> Includes-> File Header
    Here Insert Picture Description
    in the right hand pane and write your own template
    Here Insert Picture Descriptionmethod comment template: Select File-> Settings-> Editor-> Live templates, first select the right side of the plus sign to create a new template for their own group, as named myGroup.
    Here Insert Picture DescriptionSelect the group has been built, plus new template select the right side, as shown below
    Here Insert Picture Descriptionclick Define, check the Java
    Here Insert Picture Description
    click Edit variables Editing variables, set the following, click Ok-> Apply to complete the setting
    Here Insert Picture Description
Released nine original articles · won praise 6 · views 664

Guess you like

Origin blog.csdn.net/weixin_43288999/article/details/104591941