Intellij IDEA shortcut _ Test

Source: Internet
Author: User
Tags code tag

 

Practical shortcut:

Ctrl +/or Ctrl + Shift +/comment (// or /*...*/)
Ctrl + D copy rows
Ctrl + X Delete rows
Quickly fix alt + enter (modify/cast )......... Not easy
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

Organization import ctr + alt + O
Formatting code ctr + alt + L --------- conflicts with the buckle
Convert case to ctr + shift + U

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

IntelliJ Idea common Shortcut Key List Alt + press enter import package, automatic correction
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

IntelliJ IDEA details: click here
IntelliJ IDEA: click here

IntelliJ IDEA: Adding fonts to anti-aliased

IntelliJ IDEA 12 create a Web project graphic tutorial

Graphic tutorial for Android program development using IntelliJ IDEA

IntelliJ IDEA 12 haXe NME application Configuration Guide

IntelliJ IDEA test mode for running the Play Framework

Install IntelliJ IDEA 12 on Ubuntu 13.04

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.