.Configure tomcat jvm parameters
-Xms2048m -Xmx2048m -XX:PermSize=128m
.display line number
File->Settings->Editor->Appearence->Show Line Number
The problem that .idea cannot update resource
编辑tomcat --> deploy --> xxx:war exploded
When does .idea need hot deployment
Generally update the file structure, such as modifying the method name, class name and so on. Changing the body of a method generally does not require hot deployment.
.My commonly used idea shortcut keys are effective for personal testing, and will be added later if they are useful.
Implementation of the interface ctrl + alt + b
show class structure ctrl + F12
Alt+Q, you can see the declaration of the current method or the current class
A method of the current class is called by the current class Ctrl+F7
The original retraction ctrl + y --> ctrl + shift + z
Alt + Enter, import package, autofix
Ctrl+Alt+L, format code
Ctrl+Alt+O, optimize imported classes and packages
Ctrl+P, can display parameter information
Ctrl+Alt+Space, auto-completion code
Alt+Shift+Up/Down, move up/down a line
F5, copy
F6, move
Shift+F6, Refactor - Rename
Ctrl+D, copy line
Delete delete files
Alt+Delete, safely delete files
Ctrl+Y, delete the current line
Ctrl+G line jump
Ctrl+Shift+U, case conversion
Ctrl+/ or Ctrl+Shift+/, comment (// or /**/)
Ctrl+H, display class structure diagram (class inheritance hierarchy)
Ctrl+Backspace, delete by word
Ctrl+Alt+V, you can introduce variables. For example: new String(); Automatically import variable definitions and easily fill in variable names
Ctrl+Alt+T, you can wrap the code in a block, for example: try/catch if for synchognized
Ctrl+Alt+left/right, return to the last browsed position
Alt+left/right, switch code view
Alt+Up/Down, quickly move positioning between methods
Alt+Insert generate generate constructor get set method
Ctrl+Shift+"+/-", expand and collapse all
Double shift or ctrl + n to search for classes, ctrl + shift + n to search for files
Shortcut keys reference: http://www.cnblogs.com/tonycody/p/3257601.html