Xcode Common shortcut key Operation Daquan

Source: Internet
Author: User
Tags control characters documentation save file split

New Project Command+shift+n

New File Command+n

New Empty file Command+control+n

Open Command+o

Close Window Command+w

Save All Files Command+option+s

Revert to save State command+u

Create snapshot Command+control+s (save a snapshot of the file, which can be modified later)

Left indent command+[

Right indent command+]

Find Command+shift+f in Projects

Find the next Command+g

Find Previous Command+shift+g

Find command+e with the selection

Go to Line Command+l

The next fill control+.

Populate list Option+esc

Display spelling and grammar command+shift+;

Check spelling command+;

Open the header file Command+shift+d

Toggle Header/Source file command+option+ up arrow

Class Browse Command+shift+c

Bulid and Run breakpoint off Command+r

Build and Debug Breakpoint open Command+y

Next build warning or error command+=

Previous build warning or error command+shift+=

Comment command+/

File first line command+ up arrow

End of file command+ down arrow

Command+ left arrow at beginning of line

End of line command+ right arrow

Previous word option+ left arrow

Next word option+ right arrow

Middle Display cursor Position control+l

Method Group List Control+2

Delete all content before this line cursor Control+delete

Breakpoint Command+option+b

Current Line Insert Breakpoint command+

Pause command+option+p

Step into Command+shift+i

Step into instruction Command+option+shift+i

Step over Command+shift+o

SETP over instruction Command+option+shift+o

SETP out Command+shift+t

Development documentation Command+option+click

Open the header file Command+shift+d

Finishing the Xcode shortcut keys, the most complete history!

In fact, it is set inside the shortcut key into a text version, cost me a lot of work ... Hope to be helpful to everyone

Maybe some novice just use the Mac, do not know the corresponding to the Windows key, now that the command equivalent to the MS Keyboard win key, option equivalent to ALT, key value, System preferences can be changed.

Xcode Related:

About Xcode can be set

Preference Settings command+,

Empty cache can be set

Hide Xcode command+h

Hide Other Command+option+h

Show all can be set

Exit Xcode Command+q

File Related:

New Project Command+shift+n

New File Command+n

New Empty file Command+control+n

Open Command+o

Open Command+option+o in a new window

Quick Open Command+shift+d/command+shift+alt+d (I don't know what the difference is)

Empty recent open files can be set

Empty recently opened items can be set

Get Info Command+i

Show Inspector? Command+option+i (effects and get info like, don't know the difference)

Close Window Command+w

Close all Windows Command+option+w

Close the current project Command+control+w

Close the current file command+shift+w

Save File Command+s

Save All Files Command+option+s

Save As Command+shift+s

Save Copy as Command+option+shift+s

Revert to save State command+u

Create snapshot Command+control+s (save a snapshot of the file, which can be modified later)

Show snapshot can be set (file->snapshots)

Print Command+p

Edit Related:

Revoke Command+z

Repeat Command+shift+z

Shear Command+x

Copy Command+c

Paste Command+v

Paste and Match format command+option+shift+v

Delete to set

Select All Command+a

Replication (Duplicate) can be set

Refactoring Command+shift+j (check method name)

Convert to objc2.0 can be set

================= Font ====================

Display Font command+t

Bold can be set

Italic can be set

Underline can be set

Variable large font size can be set

Variable small font size can be set

Kern related can be set

Ligature related can be set

Center related can be set

Display color can be set

Copy Style Command+option+c

Paste Style Command+option+v

================= text ====================

Left-Justified command+{

Right Align command+}

Center command+ Vertical Line (I don't know what the vertical line is, not the test)

Justify can be set (function unknown)

Left indent command+[

Right indent command+]

Show Ruler can be set (function unknown)

Copy Ruler Command+control+c

Paste Ruler Command+control+v

Balance can be set (first, select the statement, the second time, check the method body)

Reset Indent to set

================= Find ====================

Find Command+shift+f in Projects

Find selected text in the project can be set

Find what you can set

Find Replacement Command+control+f

Find selected text can be set

Find the next Command+g

Find Previous Command+shift+g

Hide Find Bar to set

Replace to set

Replace All to set

Replace and find the next set of available

Replace and find the previous available

Find command+e with the selection

Replace with the selected Command+control+e

Jump to the cursor at COMMAND+J

Jump to Definition can be set

================= Sort ====================

Can be set by name

Can be set by type

========================================

Add Bookmark Command+d

Go to Line Command+l

The next fill control+.

Populate list Option+esc

Next placeholder control+/(same as TAB)

Edit All in Scope command+control+t (function unknown)

================ inserting a macro =================

C

C++

Html

Java

Objective-c

Macro Specification

================= Spelling ====================

Display spelling and grammar command+shift+;

Check spelling command+;

Check spelling when typing can be set

Special Symbol Command+option+t

View-Related:

upper right corner details search Command+option+f

Zoom edit Window Command+shift+e

Zoom edit window Full Screen command+option+shift+e

Fold command+control+ left Arrow

Screen Open command+control+ right arrow

Screen Open All Control+u

Collapse method command+control+ Up Arrow

Expand Method command+control+ down arrow

Collapse comment Block command+control+shift+ up Arrow

Expand comment Block command+control+shift+ down arrow

Focus Follow command+option+control+f

============== Information Hint ====================

Hide Problem command+shift+h

All questions can be set

Only errors and warnings can be set

Only errors can be set

Only analyzer results can be set

Display breakpoints can be set

================== text ====================

tab settings can be set

Whether the line wrap display can be set

Line end can be set

Display control characters command+shift+6

Display spaces can be set

============== Intelligent Grouping ====================

All files can be set

Targets can be set

Exeutables can be set

Bookmark Command+shift+m

Symbols can be set

Search results can be set

=================== Layout ====================

Show navigation bar to set

Hide the status bar to set

Show Favorites Bar To set

Display page control can be set

===========================================

Forward command+option+ RIGHT Arrow

Next file command+option+shift+ right arrow

Return command+option+ left Arrow

Previous file command+option+shift+ left arrow

Toggle Header/Source file command+option+ up arrow

Position command+option+shift+ up arrow in Group tree

The Display toolbar can be set

Custom toolbars can be set

=================== Project ====================

Label Switch command+ number 0 in the project

Class Browse Command+shift+c

Renaming items can be set

New Group Command+option+n

Group Command+option+g

Undo Group Command+option+shift+g

New Smart group can be set

Add Item Command+option+a

Add files to project can be set

New target can be set

Upgrade all targets can be set

Upgrade current target to ipad can be set

================new Build phase====================

No test, no more introduction, only release content

New Copy Files Build Phase

New Run Script Build Phase

New Copy Headers Build Phase

New Copy Bundle Resources Build Phase

New Compile Sources Build Phase

New Link Binary with Libraries Build Phase

New build Java Resources build Phase

New build Resource Manager Resources Build Phase

The new custom executable file can be set

Sets the current target to be null and set

Set Active Architecture is null and can be set

Set the current SDK to be empty

Setting the build configuration to null can be set

Set Active executable is null and can be set

Edit project settings can be set

Edit Current Target Command+option+e

Edit the current executable file command+option+x

===================build========================

Bulid Results Command+shift+b

Bulid command+b

Build and Analyze Command+shift+a

Build and Archive can be set

Build and Debug Command+enter

Bulid and Run breakpoint off Command+r

Build and Debug Breakpoint open Command+y

Clean command+shift+k

Clean all Targets can be set

Next build warning or error command+=

Previous build warning or error command+shift+=

Compile command+k

Preprocess can be set

Show Assembly Code can be set

Touch can be set

======================= code navigation and editing ================

Comment command+/

File first line command+ up arrow

End of file command+ down arrow

Command+ left arrow at beginning of line

End of line command+ right arrow

Previous word option+ left arrow

Next word option+ right arrow

Previous split word control+ left arrow

Next split word control+ right arrow

Middle Display cursor Position control+l

Method Group List Control+2

Delete the previous word Option+delete

Delete all content before this line cursor Control+delete

Select command+option+ Mouse drag across rows

Run Related:

Debug Command+option+enter

Run Breakpoint off Command+option+r

Debug Breakpoint Open Command+option+y

The Run with Performance Tool (Shark) can be set

Stop Command+shift+enter

Attach to process (process ID) can be set

Debugger Command+option+y

Mini Debugger command+control+ Left diagonal up arrow (don't know how to press)

Console Command+shift+r

Clear Console Command+option+control+r

===================show========================

Breakpoint Command+option+b

Expressions can be set

Global Variables can be set

Memory Browsers can be set

Shared Libraries can be set

===================debugger display========================

Vertical layout can be set

Horizontal layout can be set

DataTips can be set

Step Controls can be set

Source only can be set

Source and disassembly can be set

Disassembly can be set

===================variables view========================

User Data formatters

Show Type Column

Print Description to Console

Print Roots to Console

Print Referers to Console

Watch Variable

View Value as

Natural

Hexadecimal

OSType

Decimal

Unsigned Decimal

Octal

Binary

Edit Value

Edit Summary Format

View in Memory Browser

View in Window

View in Expressions Window

===============================================

Deactivate Breakpoint command+control+

Stop OBJC exceptions can be set

================manage brakpoints=================

Current Line Insert Breakpoint command+

ADD Symbolic breakpoint can be set

ADD C + + Exception breakpoint can be set

Enable Current line breakpoint command+option+

The import breakpoint can be set

Export breakpoints can be set

===============================================

Fix can be set

Pause command+option+p

Step into Command+shift+i

Step into instruction Command+option+shift+i

Step over Command+shift+o

SETP over instruction Command+option+shift+o

SETP out Command+shift+t

Next Thread command+option+control+ Up Arrow

Previous Thread command+option+control+ down arrow

Sync with Debugger can be set

Stop on Debugger ()/debugstr () can be set

Enable Guard Malloc can be set

Desing Related:

======================class model===================

Quick Model

Go to Declaration

Go to Definition

Go to documentation

ADD Comment

======================data model===================

Import

ADD Model Version

Set Current Version

ADD Entity

ADD Attribute Command+control+a

Add fetched Property

ADD Relationship Command+control+r

ADD Fetch Request

Copy Method Declarations to Clipboard

Copy Method implementations to Clipboard

Copy obj-c 2.0 Method Declarations to Clipboard

Copy OBJ-C 2.0 Method implementations to Clipboa

======================mapping model===================

Update Source Model

Update Destination Model

Add Missing Property Mappings

Show Model Browser command+control+b

Collapse compartments

Expand compartments

Roll up compartments

Roll down compartments

======================diagram=======================

Bring to Front command+control+shift+f

Send to Back Command+control+shift+b

Align Top Edges

Align Bottom Edges

Align left Edges

Align Right Edges

Align Vertical Centers

Align Horizontal Centers

Make centered Colum

Make centered Row

Make Same Width

Make same border=1 Height

Size to Fit

Lock command+control+l

Unlock command+shift+control+l

Zoom in command+control++

Zoom out command+control+-

Zoom to Fit command+control+=

Turn Grid on

Show Grid

Show Page Breaks

force-directed Layout Command+control+g

Hierarchical Layout Command+control+h

Window Related:

Minimized command+m

Minimize All Command+option+m

Zoom

Bring all to Front

Defaults

Organizer Command+control+o

Activity

Help Related:

Development document command+option+?

Quick Help command+control+?

Xcode help command+?

Welcome to Xcode

Xcode Quick Start

Xcode Release Notes

Find documentation for Selected Text

Open Mans Page

Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 Welcome to join

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.