IntelliJ IDEA shortcut keys and settings, intellijidea
IntelliJ IDEA shortcut keys and settings
IntelliJ IDEA usage Summary
Http://my.oschina.net/xianggao/blog/97539
IntelliJ IDEA solution:
1. garbled characters, mainly because the words of the shortcut keys are garbled characters. How can I display garbled characters in Chinese fonts?
2. the font of menu items is too small. How can I set it?
------------------------------------------------
Practical shortcut:
Ctrl +/or Ctrl + Shift +/comment (// or /*...*/)
Ctrl + D copy rows
Ctrl + X Delete rows
Quick Fix alt + enter (modify/cast)
Code prompts alt +/
Ctr + G locate a row
Shift + F6 reconstruction-Rename
Ctrl + R replace text
Ctrl + F search for text
Ctrl + E recently opened files
Ctrl + J Automatic Code
Organization import ctr + alt + O
Format code ctr + alt + L
Convert case to ctr + shift + U
--------------------------
IntelliJ Idea common shortcut keysAlt + press enter to import the package, automatically corrected
Ctrl + N lookup class
Ctrl + Shift + N search for files
Ctrl + Alt + L format the code Ctrl + Alt + O optimize the imported class and Package
Alt + Insert generate code (such as get, set method, constructor, etc)
Ctrl + E or Alt + Shift + C recently changed code
Ctrl + R replace text Ctrl + F find text
Ctrl + Shift + Space auto-completion code
Ctrl + Space code prompt Ctrl + Alt + Space class name or interface name prompt Ctrl + P method parameter prompt Ctrl + Shift + Alt + N search method or variable Alt + Shift + C compare the recently modified code Shift + F6 reconstruction-Rename
Ctrl + Shift + TOP key
Ctrl + X Delete rows
Ctrl + D copy rows
Ctrl +/or Ctrl + Shift +/comment (// or /*...*/)
Ctrl + J Automatic Code
Ctrl + E recently opened file Ctrl + H display class structure Ctrl + Q display comment document
Alt + F1 locate code
Alt + 1 quickly open or hide the project panel Ctrl + Alt + left/right and return to the previous browsing position
Alt + left/right switch Code view Alt + Up/Down fast move between Methods locate Ctrl + Shift + Up/Down code move Up/Down. F2 or Shift + F2 highlight error or warning: Quickly locate the code tag after the input is complete, press Tab to generate the code. Select the text, press Ctrl + Shift + F7, highlight all the text, and Press Esc to highlight and disappear. Press Ctrl + W to select the code. press Alt + F3 to find and highlight the same text one by one. Ctrl + Up/Down jump to the first line or the last line Ctrl + B quickly open the class or method cursor at the cursor ------------------------------------------------------------------------------------------------------------
1. IDEA Memory Optimization
Configuration Based on the machine Configuration:
\ IntelliJ IDEA 8 \ bin \ idea.exe. vmoptions
-----------------------------------------
-Xms64m
-Xmx256m
-XX: MaxPermSize = 92 m
-Ea
-Server
-Dsun. awt. keepWorkingSetOnMinimize = true
2. query shortcuts
CTRL + N lookup class
CTRL + SHIFT + N search for files
CTRL + SHIFT + ALT + N find methods or variables in the class
CIRL + B find the source of the Variable
CTRL + ALT + B find all subclasses
CTRL + SHIFT + B find the variable class
CTRL + G locate the row
CTRL + F search for text in the current window
CTRL + SHIFT + F search for text in the specified window
CTRL + R replace text in the current window
CTRL + SHIFT + R replace text in the specified window
ALT + SHIFT + C search for modified files
CTRL + E recently opened files
F3: locate the keyword
SHIFT + F3 the position where the last keyword appears
F4 find the variable source
CTRL + ALT + F7 select characters to find where the project appears
CTRL + SHIFT + O pop-up to display the search content
3. Automatic Code
ALT + press enter to import the package, automatically corrected
CTRL + ALT + L format the code
CTRL + ALT + I auto indent
CTRL + ALT + O optimized imported classes and packages
ALT + INSERT generate code (such as GET, SET method, constructor, etc)
CTRL + E recently changed code
CTRL + SHIFT + SPACE auto-completion code
CTRL + space code prompt
CTRL + ALT + SPACE class name or interface name prompt
CTRL + P method parameter prompt
CTRL + J Automatic Code
CTRL + ALT + T put the selected code in TRY {} IF {} ELSE {}
4. Copy shortcuts
CTRL + D copy rows
CTRL + X cut and delete rows
5. other shortcuts
CIRL + U case sensitivity Switch
CTRL + Z regressing
CTRL + SHIFT + Z forward
CTRL + ALT + F12 resource manager open the folder
ALT + F1 find the directory where the file is located
SHIFT + ALT + INSERT vertical editing mode
CTRL +/comment //
CTRL + SHIFT +/comment /*...*/
Press CTRL + W to select the code, which has other effects.
CTRL + B quickly open the class or method at the cursor
ALT + preview/→ switch the Code view
CTRL + ALT ←/→ return the Last edited position
ALT + ↑/↓ fast moving and locating between methods
SHIFT + F6 reconstruction-Rename
CTRL + H display class structure diagram
CTRL + Q show comments document
ALT + 1 quickly open or hide the project panel
CTRL + SHIFT + UP/DOWN code move UP/DOWN.
CTRL + UP/DOWN Jump cursor to the first line or the last line
ESC cursor return to edit box
SHIFT + ESC the cursor returns to the edit box to close useless windows
F1 helps you never press it. It's very slow!
CTRL + F4 is very important for off-duty use
Bytes ------------------------------------------------------------------------------------------------------------