MAC Intellij idea shortcut keys

Source: Internet
Author: User

The common shortcuts for idea under Mac are as follows, with the following shortcuts being tried in person and with some explanation of eclipse comparison

Alt+f7 find where to use CTRL+SHIFT+GCOMMAND+ALT+F7 equivalent to eclipse this is 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 reference, and then press F3 can choose, the function is basically the same as the selected text, press COMMAND+SHIFT+F7, highlight all the text, press ESC to highlight 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 generates the Get,set method shift+enter the next line Command+n Find class command+shift+n find file Command+r replace Ctrl+shift+r You can replace a variable command+y the entire project or a directory, delete a row command+d copy a line ctrl+shift+j concatenate multiple rows into a row, and strip the lines 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 that the variable belongs to command+g locate command+f find text in the 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 most recently modified file in Eclipse Ctrl+halt+shift+c Command+e recently opened Alt+enter import package, automatic modification command+alt+l Formatting code command+alt+i Automatic indentation, not many times using the tab or BACKSPACE key, is also a more convenient ctrl+shift+space code completion, this will judge 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 Row command+shift+v You can copy multiple text Command+shift+u case conversions ALT + F1 find the directory where the file is located command+/Comment line or multiline//ctrl+shift+/comment/*...*/command+alt+ left and right arrows return to last edited position Shift+f6 rename command+shift+ up/down arrow Move the code up or down command+[or] you 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 an abstract method implementation code command+shift+ the keypad's * column edit ALT + F8 debug Check value F8 equivalent to eclipse F6 skip to the next Shift+f8 equivalent to eclipse F8 jump to the next breakpoint, also equivalent to eclipse F7 jump function F7 equivalent to eclipse F5 is into the code ALT + Shift+f7 This is forced into code ctrl+shift+f9 debug Run Java class CTRL+SHIFT+F10 normal run Java class Command+f2 stop running

MAC Intellij idea shortcut keys

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.