4

In Xcode I can press Shift-Cmd-J to select the current file on the left.

Is there a shortcut that does the same in Appcode?

Gaurav Sharma
  • 2,680
  • 3
  • 26
  • 36

2 Answers2

7

The closest equivalent (as far as I know) is the "Select in..." command. The standard shortcut is F1, but you can change that in the Keymap settings.

It requires an additional to select the current file in the project navigator (you can also reveal it in the Finder or structure view this way), so it isn't exactly the same.

omz
  • 53,243
  • 5
  • 129
  • 141
  • This works only if I hold down Fn as well. A bit awkward – Gaurav Sharma Jun 02 '14 at 10:22
  • 1
    @GauravSharma that's because on Macs the F keys are "disabled" by default to leave the media keys there. You can change this around in system preferences so that you can press the F-keys by default and then the Fn key enables the media buttons. – Fogmeister Jun 02 '14 at 10:23
  • I've simply mapped this to Cmd+Shift+J, that's already so deep in my muscle memory... – omz Jun 02 '14 at 10:29
2

⌥-F1 then press ENTER will do this for you.

It will just bring up a menu but by hitting enter you are selecting the default option.

There is an app I use called cheat sheet which is handy for this kind of thing.

Cheat Sheet - hold down ⌘ and it shows all keyboard shortcuts for the app you're currently in.

Fogmeister
  • 76,236
  • 42
  • 207
  • 306