idea to use settings

Global JDK Configuration:
File -> Other Settins-> Structure for New Project-> Project-> Select the parent directory when adding JRE JDK, JRE do not choose the

most File-> Settings operations are done on the current project settings, set global seems to file -> Other Settins set to go

turn off automatic updates Intellij IDEA:
File-> Settings-> the Appearance & Behavior-> System Settings-> canceled automatically check updates for check under updates

hidden Intellij IDEA automatically generated configuration file:
when introducing a new project idea will generate a .idea .iml folders and files. Using code synchronization tool svn, git and other tools if the file submitted up, will lead to the influence of others to submit code updates, etc, so hide in the directory File-> "Ignore files under Settings-> Editor-> File Types and folders "column add * .idea; * iml;.

set Code Font:
File -> settings -> Editor - after> General check Change font size (Zoom) with Ctrl + mouse wheel option to control by Ctrl + mouse wheel Code font size
File -> settings -> Editor - > font & color ( set the font and color)

set the smart completion is not case sensitive
File -> Settings -> Editor - > General -> Code Completion -> right window check off Match case (or intelligent completion code hints case sensitivity off / is selected to match the default case)

file encoding settings: File -> Settings-> Editor-> File the Encodings
Free Join encoding: UTF-. 8; Projectt encoding: UTF-. 8; encoding for the Default Properties Files: UTF-. 8; check on Transparent native-to-ascii conversion

automatically import and reference packet optimization :
File -> Settings -> Editor -> General -> Auto Import -> check Add unambiguous ... and optimize imports ... (automatic jar package and the introduction of automatic optimization and delete unwanted jar)

IDEA in the maven configuration:
File-> Settings-> Build, Execution, Deployment-> Build Tools-> Maven can be configured Maven home directory for maven, user setting file, local repository
File-> Settings-> Build, Execution, Deployment-> Build Tools-> Maven-> importing checkmark Import Maven projects automatically (pom.xml file real-time monitoring of the project the project change settings); Sources and Documentation: representation in Maven whether to import dependencies when to automatically download the source code and documentation, the default is not checked. After checking can directly view the source code parsing after, but the drawback is that the import dependencies outside the network speed will slow down the

IDEA configure svn:
File -> Settings -> Version Control -> Subversion (also shortcut Ctrl + alt + s to enter the settings) svn.exe bin directory pointing svn installed

configuration of Tomcat Server:
File -> Settings -> Build, Execution, Deployment -> Deployment -> the Application Servers -> Tomcat Server

automatically compiles:
Ctrl + Shift + Alt + / or Ctrl + Shift + A search registry (into the Registry ..., find compiler.automake.allow.when.app.running, then check on)
File -> Settings -> Build, Execution, Deployment- after> compiler check Build project automatically, turn on automatic compilation, combined with Ctrl + Shift F9 will have the effect of heat update +


File-> Settings-> After Editor-> General-> Code Completion-> Case sensitive .. select none (case insensitive enter code association) & Autopopup code completion check (code autocomplete) Note: not seen version 2019.2
File -> settings -> Editor - > color Scheme -> General -> Editor -> Creat row ( selected row sets the current background color)
File -> settings -> the Appearance & Behavior -> Systeam setting Reopen last project on startup remove the check, not the default open last edited project, re-select each item to enter


the shortcut key is set to the same as Eclipse:
File -> settings -> Keymap -> Eclipse select button style (if want to use this shortcut key style, then click on the copy button to the right of an assignment can be set to the name you want, and then click apply, ok to use)
                   search bar to search quickly make changes (Add Keyboard shortcut add keyboard shortcut, Add mouse shortcut added mouse shortcuts, Add Abbreviation captions):
                            search implement methods, the method is not implemented automatically, using the interface implementation class:
                            Search Getter and Setter, generated automatically Get / Set methods:
                            Search try / catch, generated automatically try / catch:
                            Search basic (Main menu / Code / Completion lower) disposed association function keys (Alt + /)
                            searches Variable (Main menu / Refactor / Extract lower), quickly generates a return value
common default shortcut key list:
the ALT + the INSERT generated code (such as GET, SET method, constructor, etc.)
ITER loop for generating
Alt + Shift + Z surround-codes (try catch, etc.)
the Ctrl + Ctrl + E or inter Table file switching
ctrl + x in the absence of the selected character is deleted (cut) the current line, the mouse and select cut selected characters
ctrl + alt + L formatting codes
ctrl + shift + rear left / right arrows to select items using keyboard shortcuts to zoom sidebar
shift + shift search anything
ctrl + shift + u Code case conversion
Ctrl + Shift + J, the integration of two acts of line
Ctrl + F9 to recompile, delete the cache real-time updates.
PSVM quickly generate the primary method
sout quickly generate print statements

code template: Search Live Templates modification
                eg: Live Templates -> Select enter; then select the output; you can choose to generate sou fast print statement into the sys
                                  

-related jar package maven project is not a member of:
Ctrl + alt + the Shift + S to open the dependency management of the projects will be found to be dependent already add to the mix

Guess you like

Origin www.cnblogs.com/dreamShines/p/11357084.html