Reputation: 211
Xcode 9 seems to be missing jump to definition shortcut Option-Shift-Command+Click. You used to be able to use to open definition in a new tab, window, or other navigation areas with Option-Shift-Command+Click. In Xcode 9 this still works from the file navigator but not when you use this on a class. Has anyone been able to figure out how to use this shortcut in xcode 9?
Upvotes: 17
Views: 10153
Reputation: 5452
First, Open the file.
Then:
Cmd
+ Shift
+ t
Cmd
+ t
Upvotes: -1
Reputation: 323
Marco's screenshot was helpful.
The keyboard commands for Xcode 9 have changed:
Upvotes: 12
Reputation: 955
You can use Xcode preferences to personalise the double click and the action selector.
From this window you can change CMD + click to open the definition instead of the action selector (as it was in Xcode 8)
you can also change the behaviour of optional navigation, so that it opens a tab
By setting the configuration as shown below, you can CMD + ALT + click to jump to definition in a new tab.
This also restores Option-Shift-Command+Click to show the window selector as you wanted
Upvotes: 27
Reputation: 211
As soon as I asked a question I found a solution by accident.
Alternatively, can use Command + Option + Control + Shift to do this all at once but I'm not sure how convenient that is
Upvotes: 4