Xcode shortcuts and xcode shortcuts

Source: Internet
Author: User

Xcode shortcuts and xcode shortcuts

When adjusting the image size, press the option key.
Make the control as big as the content: command + =

Http://www.cr173.com/html/21801_1.html

I. About running debugging
1. Running and stopping are all in the Product on the toolbar.
Command + R run.
Command +. Stop

2. One-Step F6 debugging, F7 jump, F8 continue, similar to Eclipse,

Ii. Navigation
This is the shortcut key in the navigation

Here, I want to explain that some people may not know what the symbol represents. We all know that the spline is the command key, and how many other keys can't be found on the keyboard? Don't worry, see the figure:

In fact, they are commonly used options, control, shift keys.
1. Switching header files and m. Files is very practical.
Command + control + up and down arrow keys
2. go back: back up. Why? back to the page you opened last time.
Control + command + left arrow
Go forward back to the page you opened
Control + command + right arrow
Iii. File
Create Project command + shift + n
Create FILE command + n
Create an empty file command + control + n
Open command + o
Close Window command + w
Save all files: command + option + s
Restore to the saved State command + u
4. Edit the code
1. Code indent
Left indent command + [
Right indent command +]
2. code editing
Control-F: one character to the right (forward)
Control-B: one character to the left (backward)
Control-P: previous)
Control-N: next line)
Control-A: Beginning of A row
Control-E: end)
Control-T: transpose)
Control-D: delete the character on the right of the cursor)
Control-K: Delete the remaining characters of the row (kill)
3. Search in the document
Command + F: Search
Command + G: Search next location
Shift + Command + G: Search for the previous position
Xcode:
About what xcode can do
Preference settings command +,
Clear cache settings
Hide xcode command + h
Hide other commands + option + h
Show all available
Exit xcode command + q
File-related:
Create Project command + shift + n
Create FILE command + n
Create an empty file command + control + n
Open command + o
Open command + option + o in a new window
Quick Start of command + shift + d/command + shift + alt + d (I do not know what the difference is)
Clear recently opened files
Clear recently opened Projects
Get Info command + I
Display checker? Command + option + I (the effect is the same as that of Get Info. I don't know the difference)
Close Window command + w
Close all windows: command + option + w
Close the current project command + control + w
Close current file command + shift + w
Save the file command + s
Save all files: command + option + s
Save as command + shift + s
Save the duplicate as command + option + shift + s
Restore to the saved State command + u
Create a snapshot command + control + s (save the file snapshot and compare the changes later)
Display snapshot settings (File-> Snapshots)
Print command + p
Edit:
Undo command + z
Repeated command + shift + z
Cut command + x
Copy command + c
Paste command + v
Paste and match the command + option + shift + v format
Delete settings
Select command +
Duplicate
Restructured command + shift + j (selected method name)
Convertible to objc2.0
==========================================================
Font
Display font command + t
Bold
Italics
Underline settings
Font size can be increased
Small font size can be set
Kern-related settings
Ligature-related settings
Baseline-related settings
Display color configurable
Copy style command + option + c
Paste style command + option + v
======================= Text ================================
Left-aligned command + {
Right-aligned command +}
Center command + vertical line (I don't know which vertical line is, I didn't try it out)
Justify configurable (unknown function)
Left indent command + [
Right indent command +]
Show Ruler configurable (unknown function)
Copy r0000command + control + c
Paste Ruler command + control + v
Balance can be set (the first time, the selected statement, the second time, the selected method body)
Reset indent settings
======================== Search =============================
Search for command + shift + F in the project
Search for the selected text in the project
Search for available
Search replace command + control + f
Search selected text settings
Find the next command + g
Find the previous command + shift + g
Hide search bar
Replace settable
Replace all settings
Replace and find the next settable
Replace and find the last settable
Use the selected SEARCH command + e
Replace command + control + e with the selected one
Jump to the cursor, command + j
Jump to definition settable
============================ Sort =
Configurable by name
Configurable by type
==========================================================
Add bookmarks command + d
Go to line command + l
Next fill control +.
Fill list option + esc
Next placeholder control +/(same as tab)
Edit All in Scope command + control + t (unknown function)
===================== Insert macro ================================
C
C ++
Html
Java
Objective-c
Macro Specification
======================== Spelling ==================================
Display spelling and syntax command + shift +;
Check spelling command +;
Check spelling when entering
Special symbol command + option + t
View related:
SEARCH command + option + f in the upper right corner
Zoom and edit window command + shift + e
Zoom and edit window full screen command + option + shift + e
Collapse command + control + left arrow
Show command + control + right arrow
Screen all control + u
Folding Method command + control + up arrow
Show method command + control + down arrow
Collapse comment block command + control + shift + up arrow
Expand the comment block command + control + shift + down arrow
Focus follows command + option + control + f
=================== Message prompt ==================================
Hide problem command + shift + h
All questions are configurable
Only errors and warnings can be set
Error only
Only Analyzer results can be set
Display resumable settings
========================= Text ==============================
Tab settings
Whether to enable automatic line feed display
Row end settings
Show control character command + shift + 6
Display space configurable
================== Intelligent grouping =================================
All files are configurable
Targets configurable
Exeutables
Bookmarks command + shift + m
Symbols configurable
Search Result settings
============================ Layout ============================
Display navigation bar
Hide the configurable Status Bar
Display favorites bar
Display page number control available
========================================================== ===
Forward command + option + right arrow
Command + option + shift + right arrow of the next file
Return command + option + left arrow
Command + option + shift + left arrow in the previous file
Switch Header/source file command + option + up arrow
Locate command + option + shift + up arrow in the group tree
Display toolbar settings
Customizable Toolbar
========================== Project ============================
Command + number 0 for tag switching in Project
Class browsing command + shift + c
Rename Project Settings
New Group command + option + n
Group command + option + g
Undo Group command + option + shift + g
New Smart group settings
Add project command + option +
Add files to a project
New Target
Update all Targets settings
Upgrade current Target to ipad
===================== New Build Phase ==============================
Not much about the test, just release the 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
========================================================== ==========
New Custom Executable File Settings
Set the current Target to null
Set Active Architecture is empty
Set the current sdk to null
Set Build configuration to null
Set Active Executable is empty
Edit Project Settings
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 +
Build and Archive can be set
Build and Debug command + enter
Bulid and Run breakpoint off command + r
Build and Debug breakpoint command + y
Clean command + shift + k
Clean All Targets configurable
Next Build warning or error command + =
Previous Build warning or error command + shift + =
Compile command + k
Preprocess configurable
Show Assembly Code configurable
Touch configurable
=================================== Code navigation and editing ======================== ===
Comment command +/
Command + up arrow at the first line of the file
Command + down arrow at the end of the file
Command at the beginning of the line + left arrow
Command + right arrow at the end of the row
Option + left arrow of the previous word
Next word option + right arrow
Control + left arrow of the last split word
Next split Word control + right arrow
Show cursor position in the center control + l
Method group list control + 2
Delete the previous word option + delete
Delete all content before this row cursor control + delete
Select command + option + move across rows

Run:
Debug command + option + enter
Run breakpoint off command + option + r
Debug breakpoint command + option + y
Run with Performance Tool (Shark) configurable
Stop command + shift + enter
Attach to Process (Process ID) can be set
Debugger command + option + y
Mini Debugger command + control + top left arrow (I 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
Memory Browsers configurable
Shared Libraries
============================ Debugger Display ============================ =====
Vertical layout configurable
Horizontal layout configurable
Datax settings
Step Controls configurable
Source Only
Source And Disassembly configurable
Disassembly configurable
=========================== Variables View ============================ =====
User Data Formatters
Show Type Column
Print Description to Console
Print Roots to Console
Print Referers to Console
Watch Variable
View Value
Natural
Hexadecimal
OSType
Decimal
Unsigned Decimal
Octal
Binary
Edit Value
Edit Summary Format
View in Memory Browser
View in Window
View in Expressions Window
========================================================== ========
Disable breakpoint command + control + \
Disable objc exceptions
===================== Manage Brakpoints ==============================
The current row inserts a breakpoint command + \
Add Symbolic Breakpoint configurable
Add C ++ Exception Breakpoint configurable
Enable the current line breakpoint command + option + \
Import breakpoint settings
Export breakpoint settings
========================================================== ========
Fix configurable
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 configurable
Stop on Debugger ()/DebugStr () can be set
Enable Guard Malloc configurable

Desing:
================================== 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 +
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
====================================== Digoal ========================== ======
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 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:
Minimal command + m
Minimize all commands + option + m
Zoom
Bring All to Front
Ults
Organizer command + control + o
Activity
Help:
Development document command + option +?
Quick help for command + control +?
Xcode HELP command +?
Welcome to Xcode
Xcode Quick Start
Xcode Release Notes
Find Documentation for Selected Text
Open man Page

Latest addition: command + shift + d open the header file

Related:

Http://www.cnblogs.com/wendingding/p/3751388.html

Http://www.cocoachina.com/ios/20140731/9284.html

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.