Use the Idea tool shortcut key under Mac

Source: Internet
Author: User

Alt+f7 find where to use ctrl+shift+g equivalent to eclipse

Command+alt+f7 This is the place where the selected characters appear in the project, not the method variable class, etc., this is different from the above

Command+f7 can query the current element in the current file of the 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 is looking up.

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

Shift+enter Change to Next line

Command+n Find Class

Command+shift+n Finding files

Command+r replacement

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

Command+y Deleting rows

Command+d Copy a row

Ctrl+shift+j lines are concatenated into rows, and rows with spaces are removed

Command+j can generate some automatic code, such as A 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 can look for 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 files

Alt+enter Import package, automatic modification

Command+alt+l Formatting Code

Command+alt+i Auto Indent, do not have to use the tab or the 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 put the selected code in try{} if{} else{}

Command+x Cut Delete Rows

Command+shift+v can copy multiple text

Command+shift+u Uppercase and lowercase conversions

Alt+f1 find the directory where the files are located

command+/Comment Line or multiple lines//

ctrl+shift+/Comment/*...*/

Command+alt+ left and right arrows return to last edited position

Shift+f6 renaming

command+shift+ up and down arrows move the code up or down

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

COMMAND+F12 can display the structure of the current file

Command+alt+b can navigate to the implementation code of an abstract method

* Column editing for command+shift+ keypad

Alt+f8 Check values when debugging

F8 equivalent to eclipse F6 jump to the next step

Shift+f8 equivalent to eclipse's F8 jumps to the next breakpoint, also equivalent to eclipse's F7 bounce function

F7 equivalent to eclipse's F5 is entering into the code

Alt+shift+f7 This is mandatory entry code

CTRL+SHIFT+F9 Debug Run Java class

CTRL+SHIFT+F10 Normal running Java class

Command+f2 Stop Running


Use the Idea tool shortcut key 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.