IntelliJ idea common shortcut keys under Mac

Source: Internet
Author: User

Alt+f7: Find out where to use

COMMAND+ALT+F7: This is the place where the selected characters appear in the project, not the method variable class, and the difference between the

COMMAND+F7: You can query the current element in the current file reference, and then press F3 can choose, the function of the basic ibid.
Select the text, press COMMAND+SHIFT+F7, highlight all the text, and press ESC to highlight the disappear.
Select the text, press ALT+F3, look down the same text, and highlight it.

SHIFT+F3: Just go up.

Ctrl+enter: The interface that generated the Get,set method appears

Shift+enter: Change to Next line

Command+n: Finding classes

Command+shift+n: Finding Files

Command+r: Replace

Ctrl+shift+r: You can replace variables in the entire project or under a directory

Command+y: View Current method implementation

Command+d: Copy the current line to the next line

Ctrl+shift+j: line that joins multiple rows to a row, removing spaces

Command+j: can generate some automatic code, such as for loop

Command+b: Find the source of the variable with F4 find the source of the variable

Ctrl+shift+b: Find the class to which the variable belongs

Command+g: Positioning

Command+f: Find text in current file F3 look down, shift+f3 look up

Ctrl+shift+f: You can find variables in the entire project or under a directory equivalent to the ctrl+h in eclipse

Alt+shift+c: Recently modified files

Command+e: Recently opened file

Alt+enter: Import package, automatic modification

COMMAND+ALT+L: Format code command+alt+i: Auto indent, not multiple use tab or BACKSPACE key, is also more convenient

Ctrl+shift+space: Code completion, this will determine the possible use of this code completion and code hints are not the same

Command+p: Method Parameter hints

Command+alt+t: Place the selected code in try{} if{} else{}

Command+x: Cut Delete Rows

Command+shift+v: You can copy multiple text

Command+shift+u: Case Conversion

ALT+F1: Find the directory where the files are located

command+/: Comment Line or multiple lines//

ctrl+shift+/: Comment/.../

Command+alt+ Arrow: Returns the last edited position

SHIFT+F6: Renaming

command+shift+ up and down arrows: Move the code up or down

command+[or]: You can jump to the beginning of the curly brace

COMMAND+F12: The structure of the current file can be displayed

COMMAND+ALT+B: An implementation code that can navigate to an abstract method

command+shift+*: Column Editing

Alt+f8:debug Check values F8 equivalent to eclipse F6 skip to the next step

Shift+f8: F8 equivalent to eclipse jumps to the next breakpoint

ALT+SHIFT+F7: This is mandatory entry code

COMMAND+F9 Debug: Run Java class

CTRL+SHIFT+F10: Normal running Java class

COMMAND+F2: Stop Running

IntelliJ idea common shortcut keys under Mac

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.