IDEA basic items commonly used configurations

一、Appearance & Behavior

1.1. Setting topic

1.1.1 Method 1: General Settings

1.1.2 Second way: download the theme pack, import

IDEA theme download

Two, Keymap

2.1. Set shortcuts and the same Eclipse

2.1.1 Method 1: General Settings

2.2.2 Second way: introduction jar package

Links: Shortcuts jar package download (as basic and Eclipse)

Password: ijlt

 Three, Editor

3.1. Editor - General

3.1.1. Setting change font size (utility) mouse wheel

3.1.2. Message appears on codes provided Rollover

 3.1.3. Setup code is automatically turned package (Import)

3.1.4 Setting display dividing lines between the line number and methods and methods

3.1.5. Not case-sensitive code completion tips

 3.2. Editor -- Font

3.2.1. Set the default font style

3.2.2. Modify the current theme font style

3.2.3. Changing Console font style

3.2.4. Color code modification of components of

 3.3. Editor -- File and Code Templates

3.3.1 set the template class comment

Attachment: template code

/**
 * @Auther: zhoujin
 * @Date: ${DATE}
 * @Description: 
 */

 3.4. Editor -- File Encoding

3.4.1 Setting encoding format

3.5.  Editor -- Live Types

3.5.1. View Code Templates

     The so-called code templates, is that when you enter a few letters or characters, type Enter you can get the complete code you want. If the input main type in Eclipse Enter key, you can get

public static void main(String[] args){
      
}

    The IDEA also has many templates provided, you can see in the following ways:

This is one here can only view, but not modify, following this way it can be viewed, modified, and added:

3.5.2. Modifying and adding code templates

3.5.3 set the template class comment

 

Attachment:

(1) template code

*
 *  
 $param$
 * @return: 
 * @auther: zhoujin
 * @date: $date$
 */

Expression (2) parameters

groovyScript("def result=''; def params=\"${_1}\".replaceAll('[\\\\[|\\\\]|\\\\s]', '').split(',').toList(); for(i = 0; i < params.size(); i++) {result+='* @param ' + params[i] + ':' + ((i < params.size() - 1) ? '\\n ' : '')}; return result", methodParameters())

(3) Effects of FIG.

/** + Enter

 

四、 Build, Execution, Deployment

4.1 setup code automatically compile

Fifth, modify the code to select the font color and background color

Published 47 original articles · won praise 16 · views 70000 +

Guess you like

Origin blog.csdn.net/zorro_jin/article/details/81153943
Recommended