1o essential Xcode shortcuts you shouldn’t work without

Photo by Akshay on Unsplash
  • = Command
  • = Control
  • = Shift

1. Jump to a specific file aka “Open quickly”

⌘ + ⇧ + O

2. Jump to a specific line in a file

⌘ + L

3. Search in a file

⌃ + 6

4. Search for a piece of text in the whole project

⌘ + ⇧ + F

5. Rename file in scope

⌘ + ⌃ + E

6. Comment line out

⌘ + /
  • "
  • {
  • [
  • (

7. Move line up or down

⌘ + option + [
⌘ + option + ]

8. Go back and forward between files

⌘ + ⌃ + →
⌘ + ⌃ + ←

9. Show file in hierarchy

⌘ + ⇧ + J

10. Run all tests

⌘ + L

Bonus

⌘ + ⌃ + [click]

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store