Getting Started Mac shortcuts detailed sorting, including some common shortcuts in Eclipse and Android studio

Source: Internet
Author: User

General

Control (^)

Shift (?) ??

Option/alt (?)

Command (?)

fn Secondary Function key

Efficiency

1. Editing

Control + Space Toggle IME (modifier: Alt (?) +space visible Control+alt (?) +space fast switching)

control+ Command + Space Open System emoticons

Shift+control+space handwriting input (modifier: Alt (?) +H)

command+←/→ (↑/↓) home/end

Fn+↑/↓ Pageup/pagedown

command+]/[ forward/Back Page/front page

Command s/c/v/x Save/Copy/paste/cut (only files and folders can be clipped and the application cannot be cut)

Fn+delete Reverse Removal

Control+d quickly delete the current line

shift+command+←/→ Quick Check

Shift+alt (?) +←/→ quick check cursor out keyword

shift+←/→ Custom selected

Command+. Smart Tips

2. System functions

Command+space Open Spotlight Search

Alt (?) +command+space Open Finder

Alt (?) +command+d Open/Hide Dock bar

Alt (?) +command+esc Open Force quit application

shift+command+3/4 screenshot screen (+ Space to quickly select the active window)

Command+q Exit Program

Command+m Minimized

Control (^) +command+f full screen toggle (opens new desktop)

command+ (Shift) +tab current Desktop window switch

Command+h Hide active window

3.Finder File Manager

Alt (?) +command+space Quick Open Finder

Command +k to open a remote server connection

Shift+command+g Quick access to the file directory

Command +(↑/↓) previous level/Next level file directory

Command+h Hide Finder

Alt (?) +command+h Hide Other

/etc/hosts hosts directory

[Safari]

Command+t new tab

Command + W Close the current tab

Command+n New Window

Shift+command+n New non-trace window

command+]/[ forward/Back Page/front page

Control (^) +command+f Safari Full screen Toggle (pass)

Control (^) +COMMAND+1/2/3(L) show Sidebar bookmarks/reading list/links

Shift+/command+b top display bookmarks Bar

Command +l quickly open favorite URLs (location)

Option/alt (?) +command +l Open the download directory

Command+y historical Records

Command+d Quick Collection

Option/alt (?) +command+b Bookmark Management

[Eclipse]

1. Search

Control+alt (?) +h Lookup Reference in current tab

Alt (?) +command+g Find all references in a workspace

Shift+command+l shortcut keys for a full overview

2. Efficiency

command+/ Comment Current line

control+command+/ Comment Multiple lines

Shift+command+\ to cancel multiple lines of comment

Alt (?) +/ Smart tips

Control+q back to the last edited position

Shift+fn+command+. Quick Find Warning code location in current tab

command+]/[ (or Alt (?) +command+←/→) forward/ Rewind

Alt (?) +f7 Toggle the different feature views in the current tab

Shift+enter Insert a row below

Shift+command+enter Insert a row above

Alt (?) +(↑/↓) move up/down current line

[Android Studio]

1. Efficiency

Command+n open generate, quickly generate getter,setter,constructor, etc.

Alt (?) +f1 Quick selection of currently edited features (Class,file,method,field)

F12 Move focus to the previous focused tool window

COMMAND+F12 displaying the structure of the current class file

Control+h Viewing class inheritance hierarchies

Shift+f6 Quick Rename

Command+;/↓ Open the project structure panel

shift+command+ (↑/↓) Telescopic tool bar height

Shift+command+ ' maximize minimized toolbar panel

Alt (?) +command+f7 Show All classes, methods, and variables (edite|find|show usages)

[Compare code]

Command+d Project Panel Select different files for comparison

Efficiency (Advanced)

Command+9 Quick Open version Control tool, display Delete, modify, uncommitted files, here can be version operation

Shift+alt (?) +c Quick View Project Recent changes

Refactor|copy easily replicate this class (F5) after selecting a class

F6 quickly transforms a static inner class into a high level class

Search (Navigation)

Double shift Global search

Command+o Search your own SRC package for the following classes

Alt (?) +command+o only search for the fields, methods, and classes of the Java source code in the editor (it works well when looking for files)

Shift+command+o Search for files in the current project, including res,libs (useful when looking for a method)

control+ (↑/↓) quickly switch between methods

Shift+command+r Global Search and replace

Search (read code)

Command+b jump to Definition

Alt (?) +space Quick View definition

Command+p Viewing method parameters (F1, viewing document Help)

Alt (?) +f7 Find All references (edit| find|)

Shift+alt (?) +command+f7 To quickly view references in a class

Shift+command+f7 The keyword that appears in the Find method, the cursor quickly completes the code at the throws and Try,catch of the method

command+-/+ collapse current block

Alt (?) +-/+ stepwise folding

shift+command+-/+ Collapse All code

2. Editing

Control+space Smart completion

Alt (?) +shift+space Show Smart hints drop-down list

Shift+command+enter quickly complete the line code (complement current statement)

Tab dynamic generation of typical code templates

Command+n quickly generate code (constructors, getter,setter,tostring, etc.)

command+j Open the Dynamic Code template (enter it and press command+j back to show all templates that contain it)

Alt (?) +command+j quickly wrapping code templates for selected code

Alt (?) +command+l quickly organize your code

Control+shift+j quickly merges two lines of code and removes extra spaces

Shift+command+v Open the Pasteboard and select the most recently copied content to insert

alt (? +Enter Fast Import Package (quick Build test class, etc...) )

Shift+command+delete go back to the last edit location

Command+d quickly copy the current line to the next line

Shift+alt (?) +(↑/↓) Move up/down current line

Shift+alt (?) +←/→ quick check cursor out keyword

Command+ (home/end) move to top/bottom of code

Alt+mouse control to quickly select multiple lines

Shift+command+enter/command+enter Insert a blank line below/above, note that the cursor is in the front of the code

Command/fn/alt (?) +delete 1.2 Delete current Line/3 Delete a keyword

3. Commissioning

F8 Line-wise debugging

F7 into your own code inside.

Shift+f7 into the system API code inside

Shift+f8 Bounce Method

Alt (?) +command+r jump to the next breakpoint

Shift+command+f8 View all Breakpoints

Control+d Debug debug

Control+r Run

Control+alt (?) +r run/debug

Alt (?) +f8 (↑) Quick monitoring at debug (ALT + mouse click to quickly calculate selected code execution results)

Command+f8 Insert Breakpoint Toogle line Breakpoint

Shift+command+f8 Edit Breakpoints

Shift+alt (?) +command+f8 inserting a temporary breakpoint Toogle temporary line breakpoint

Debug (Bug fix)

F2/SHIFT+F2 Fast switching between syntax error syntax error

Alt (?) +command+ (↑/↓) jump between compilation errors compiler Error

4. Version control

Schedule for deletion /develodocs/. /zaina/.idea/libraries

5. Editor

control+ ' fast switching colors, code styles, shortcut keys, and more (View-switch scheme)

command+ ' fast switching IDE multiple windows

Alt (?) +command+y refresh

Getting Started Mac shortcuts detailed sorting, including some common shortcuts in Eclipse and Android studio

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.