skip to Main Content

For example , I want to select from 24 to 33 with keyboard hotkey , How to do this?
enter image description here

3

Answers


  1. I don’t think there’s a hotkey, but just double click on one of the { } brackets.

    Login or Signup to reply.
  2. The command you are looking for is Editor > Selection > Balance Delimiters. As for the "hot key", there are no fixed keyboard shortcut combinations in Xcode. The keyboard shortcut is whatever you want it to be.

    Login or Signup to reply.
  3. In addition to matt’s answer:

    • unbind the ⌘+p since you will never print your code and bind it to the Balance Delimter.
    • this also makes it easy to remember! ⌘+P for everything inside the parenthesis
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search