Ctrl+shift+n: Find files;
1. Idea Memory optimization
First look at the configuration of your machine itself and configure it.
\intellij Idea 8\bin\idea.exe.vmoptions
-----------------------------------------
-xms64m
-xmx256m
-xx:maxpermsize=92m
-ea
-server
-dsun.awt.keepworkingsetonminimize=true
Query shortcut keys
CTRL + N Find class
Ctrl+shift+n Finding files
Ctrl+shift+alt+n find a method or variable in a class
Cirl+b finding the source of the variable
Ctrl+alt+b Find all the subcategories
Ctrl+shift+b the class of finding variables
Ctrl+g Locating rows
Ctrl+f finding text in the current window
Ctrl+shift+f finding text in a specified window
Ctrl+r replacing text in the current window
Ctrl+shift+r replacing text in a specified window
Alt+shift+c Finding the modified file
Ctrl+e recently opened files
F3 down find where the keyword appears
Shift+f3 up a keyword where it appears
F4 finding the source of a variable
Ctrl+alt+f7 selected characters find where the project appears
Ctrl+shift+o Popup Display Find content
SVN Management
Add SVN library to Idea SETTING, VERSION CONTROL, VCS = svbversion
Automatic code
ALT + ENTER import package, auto fix
Ctrl+alt+l Formatting Code
Ctrl+alt+i Auto Indent
Ctrl+alt+o Optimizing imported classes and Packages
Alt+insert generate code (such as Get,set method, constructor, etc.)
Ctrl+e or Alt+shift+c recently changed code
Ctrl+shift+space Auto-Complete code
CTRL + Space Code hints
Ctrl+alt+space class name or interface name hint
Ctrl+p Method Parameter Hints
CTRL+J Automatic Code
Ctrl+alt+t put the selected code in try{} if{} else{}
Copy Shortcut
F5 Copy File shortcuts
Ctrl+d Copying rows
Ctrl+x Cut, Delete row
Ctrl+shift+v can copy multiple text
Highlight
Ctrl+f selected text, highlighting jumps up or down to the next or previous
F2 or SHIFT+F2 highlighting error or warning quick location
Ctrl+shift+f7 highlighting multiple keywords.
Other Shortcuts
Cirl+u Case Switching
CTRL + Z backwards
Ctrl+shift+z forward
CTRL+ALT+F12 Explorer open Folder
Alt+f1 find the directory where the files are located
Shift+alt+insert Vertical Edit mode
ctrl+/Notes//
ctrl+shift+/Comment/*...*/
Ctrl+w selected code, continuous press will have other effects
Ctrl+b quickly open the class or method at the cursor
alt+←/→ Switch Code View
ctrl+alt←/→ return to last edited position
Alt+↑/↓ fast positioning between methods
Shift+f6 Refactoring-Renaming
CTRL+H Display class structure diagram
Ctrl+q displaying comment documents
Alt+1 quickly open or hide the engineering panel
The Ctrl+shift+up/down code moves up/down.
Ctrl+up/down cursor jumps to the first or last line
ESC cursor returns to edit box
Shift+esc the cursor back to the edit box, close the useless window
F1 help don't press, very card!
Ctrl+f4, it's very important to work.
Important Settings
A modules method is not compiled, but there is still a display on the view
SETTINGS, COMPILER, excludes,
does not compile a modules and does not appear on the view
MODULES SETTINGS--(Choose your module)--excluded, SOURCES---All Projects folder
IDEA encoding Set 3 steps
SETTINGS, file encodings, file-, IDE ENCODING
DEFAULT ENCODING for PROPERTIES FILES, SETTINGS, file encodings
ADDITIONAL COMMAND line PARAMETERS, JAVA COMPILER, COMPILER, SETTINGS, FILE--
Add parameter-encoding UTF-8 compile groovy file if not added, STRING S = "Chinese"; Such groovy files are not compiled over.
Add other types of files in the compilation such as *. TXT *. Ini
RESOURCE PATTERNS, SETTINGS, FILE--
Change edit Text font size
SETTINGS, EDITOR COLORS & FONTS, FONT---SIZE
Modify smart prompt shortcut keys
SETTINGS, KEYMAP, MAIN MENU, code, complete code-and BASIC
Show file Filtering
SETTINGS, file TYPES, file--, IGNORE FILES ...
The bottom is my filter type, case-sensitive
CVS; SCCS; Rcs;rcs;. Ds_store;. SVN;. PYc;. Pyo;*.pyc;*.pyo;. GIT;*.HPROF;_SVN;. SBAs;. IJI.*;VSSVER.SCC;VSSVER2.SCC;. *;*.iml;*.ipr;*.iws;*.ids
Quick positioning in the Project window, editing a file in a window
In the edited selected file, press ALT+F1, and then select Project VIEW
Idea shortcut keys