Using shortcuts while working with any tool (development, designing, etc) plays a vital role in doing a normal chore at relatively faster pace. Therefore, today we are going to take a look at the Xcode 10 shortcuts.
Cmd + Opt + Ctrl + U
For running current test
Opt + Cmd + N
For creating a new group
Cmd + Shift + O
For quickly opening, or for going to particular line of file
Ctrl + Cmd + Opt + F
For automatically fixing issues
Cmd + Shift + J
For selecting file in navigator
Cmd + Shift + D
For selecting file in debug view
Cmd + \
For adding breakpoint
Cmd + .
For detaching simulator from Xcode
Ctrl + Shift + Up/Down
For using multiCursor editing
Cmd + , —>
For opening Preferences
Ctrl + L
Center the current line to adjust screen position
Cmd + Opt + [ ]
For moving line up/down
Cmd + + —>
For making text bigger in editor
Cmd + — ->
For making text smaller in editor
Cmd + Ctrl + 0
For resetting text size
Ctrl + Shift + Left arrow Key
For selecting word one by one towards left (dividing camel case word and then selecting it)
Ctrl + Shift + Right arrow Key
For selecting word one by one towards right
Opt + Shift + Left arrow Key
For selecting word one by one towards left
Opt + Shift + Right arrow Key
For selecting word one by one towards right
Cmd + Shift + Left/Right arrow Key
For navigating to the end of line
Cmd + Shift + L
For opening code snippets
Cmd + Y
For activating/deactivating a breakpoint
Cmd + K
For clearing console
Cmd + Shift + K
For cleaning project
Ctrl + K
For deleting current line
Cmd + J
For moving Focus
Cmd + Shift + 0
For opening documentation
Ctrl + 6
For opening jump menu
Cmd + Shift + Y
For showing/hiding Debug region
Cmd + Ctrl + E
For editing all within scope
Ctrl + space
For showing intellisense code completions
Ctrl + .
For showing next suggestion
Cmd + /
For commenting a selection
Cmd + U
For running all tests
Cmd + Shift + U
For running tests in current test suite
Cmd + Opt + Ctrl + G
For testing again
Ctrl + Cmd + ‘
For auto fixing next error
Ctrl + Cmd + “
For auto fixing previous error
Cmd + Opt + U
For opening scheme’s test settings
Cmd + Opt + R
For opening scheme’s run settings