Intellj Idea's Shortcut

Source: Internet
Author: User
Tags code tag

IntelliJ Idea Usage Summary

http://my.oschina.net/xianggao/blog/97539

IntelliJ Idea Problem Solving:
1. Garbled, mainly the words of the shortcut keys display garbled Chinese font display garbled?


2. menu items such as the font is too small, how can be set?

------------------------------------------------

Useful shortcut keys:

ctrl+/or ctrl+shift+/Comments (//or/*...*/)
Ctrl+d Copying rows
Ctrl+x Deleting rows
Quick fix Alt+enter (modify/cast)
Code hint alt+/
Ctr+g Locating a row
Shift+f6 Refactoring-Renaming
Ctrl+r replacing text
Ctrl+f finding text


Ctrl+e recently opened files
CTRL+J Automatic Code

Organization Import Ctr+alt+o
Format Code CTR+ALT+L
Capitalization conversion Ctr+shift+u

--------------------------

IntelliJ idea frequently used shortcut keys listALT + ENTER import package, auto fix
CTRL + N Find class
Ctrl+shift+n Finding files
Ctrl+alt+l formatting code 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+r Replace text ctrl+f find text
Ctrl+shift+space Auto-Complete code
CTRL + SPACE code hint Ctrl+alt+space class name or interface name hint Ctrl+p method parameter hint Ctrl+shift+alt+n Find method or variable in class Alt+shift+c compare recently modified code SHIFT+F6 refactoring-Rename
ctrl+shift+ First up key
Ctrl+x Deleting rows
Ctrl+d Copying rows
ctrl+/or ctrl+shift+/Comments (//or/*...*/)
CTRL+J Automatic Code
Ctrl+e recently opened file Ctrl+h show class structure diagram ctrl+q Show comment document
Alt+f1 find where the code is located
Alt+1 quickly open or hide the project panel ctrl+alt+ Left/right return to the location you last viewed
ALT + Left/right Toggle Code View ALT + Up/down move quickly between methods to locate Ctrl+shift+up/down code up/down. F2 or SHIFT+F2 highlighting error or warning when the quick position code tag is entered, press TAB to generate the code. Select the text, press CTRL+SHIFT+F7, highlight all the text, and press ESC to highlight the disappear. Ctrl+w the selected code, continuously press the other effect to select the text, press ALT+F3, look down the same text, and highlight. Ctrl+up/down the cursor jumps to the first or last line Ctrl+b quickly opens the class or method at the cursor------------------------------------------------------------------ ------------------------------------------

1. Idea Memory optimization

configured for the machine itself:

\intellij Idea 8\bin\idea.exe.vmoptions
-----------------------------------------
-xms64m
-xmx256m
-xx:maxpermsize=92m
-ea
-server
-dsun.awt.keepworkingsetonminimize=true

2. 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

3. 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 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{}

4. Copying shortcuts

Ctrl+d Copying rows
Ctrl+x Cut, Delete row

5. 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.

Intellj Idea's Shortcut

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.