The practical

  • 1. Go back to the last edit: CTRL + –
  • 2. Remove unnecessary import: option + Shift + o
  • 3. Quickly locate the code error location: F8
  • 4. Run Cmd + P to search for files
  • 5. Quickly locate the last line (first line) of the file: Cmd + ⬇️ (Cmd + ⬆️)
  • 6. Go to the specified line: CTRL + G
  • 7. Format code: Option + Shift + F