Java and Android Development IDE---IntelliJ idea usage tips (RPM)

Source: Internet
Author: User


Eclipse has been used in the past, listening to the introduction of idea is very good, but also in order to later turn to Android studio Mat. began to try to develop it with idea.

This article focuses on the use of idea techniques.

Idea full name IntelliJ ideas, a Java language development integration Environment, IntelliJ is recognized as one of the best Java development tools in the industry, especially in smart Code helper, code auto hint, refactoring, Java EE support, Ant, JUnit, CVS integration, code review , innovative GUI design and other aspects of the function can be said to be extraordinary. Idea is the product of JetBrains company.

--Baidu Encyclopedia

Download Installation

Official website: https://www.jetbrains.com/Download website: https://www.jetbrains.com/idea/download/

There are two versions: version Ultimate and version community. The former is free for 30 days and the latter is free forever. People choose to download according to their own needs.

Font background Theme Settings

font:

IDE font settings: File-->settings-->look and feel-->override default fonts by-->name

To modify the font of the code:

File-->settings-->editor-->color&fonts-->font-->save as (create your own font)-select font type and size

To change the theme of the IDE:

File-->settings-->appearance-->theme

common shortcut keys

  Query shortcut keys

      ctrl+n   Find classes         ctrl+shift+n  Find Files         Ctrl+shift+alt+n Find a method or variable in a class         cirl+b   Find the source of the variable         ctrl+alt+b  Find all subclasses         ctrl+shift+b  classes to find variables         ctrl+g   Locator lines         ctrl+f   Find text in the current window         ctrl+shift+f  find text in the specified window         ctrl+r    Replace text in current window         ctrl+shift+r  replace text in specified window       ALT + shift+c  Find modified files   ctrl+e   recently opened files   f3   down find keyword appears   shift+f3  up one keyword Location        f4   find variable sources        ctrl+alt+f7  selected characters find where the project appears   & nbsp    ctrl+shift+o  Pop-up display find what

Automatic Code

ALT + ENTER import package, automatically fix ctrl+alt+l formatting code ctrl+alt+i Auto indent ctrl+alt+o optimize imported classes and packages Alt+insert generate code (such as Get,set methods, constructors, etc.) Ctrl+e recently changed code ctrl+shift+space automatic completion code CTRL + SPACE code hint Ctrl+alt+space class name or interface name prompt ctrl+p method parameter hint Ctrl+j automatic generation Ctrl+alt+t the selected code in try{} if{} else{}

Copy Shortcut

Ctrl+d copy Row ctrl+x cut, delete row

Other

Cirl+u Case Toggle Ctrl + Z ctrl+shift+z forward ctrl+alt+f12 Explorer open folder alt+f1 Find file directory location Shift+alt+insert Vertical     Edit mode ctrl+/comments//ctrl+shift+/comments/*...*/ctrl+w Check the code, continuous press with other effects ctrl+b quickly open the class or method at the cursor alt+←/→ switch code view ctrl+alt←/→ returns the location of the last edit alt+↑/↓ quickly move between methods positioning Shift+f6 Refactoring-rename Ctrl+h show class map ctrl+q show Comment Document Alt+1 quick    Quickly open or hide the project panel Ctrl+shift+up/down code moves up/down. Ctrl+up/down cursor jumps to the first or last line below the ESC cursor returns to the edit box SHIFT+ESC the cursor returns to the edit box, closing the useless window

The best thing about idea is that you can change the shortcut keys to your familiar IDE style!!!

Can be modified for Eclipse and Visual Studio, great!

Modification Method: File-->settings-->keymap

Java and Android will be developed in the future with idea ~

Http://www.cnblogs.com/JohnTsai/p/4114412.html

Java and Android Development IDE---IntelliJ idea usage tips (RPM)

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.