1

I'm working on a Swift codebase in Xcode, and there are a bunch of custom operators. Usually, for regular symbols/functions/variables, I can just press ctrl + cmd + click on it and the editor will jump to the definition. In other versions of Xcode, I can use ctrl + cmd + j to jump to the operator def. Is there a way to do this in Xcode 10.2.1? Or is there a bug in that version?

Elliot Schrock
  • 1,406
  • 2
  • 9
  • 20
  • 1
    See the comments at https://stackoverflow.com/q/53651936/1187415. – Martin R Jul 03 '19 at 12:14
  • @MartinR thank you! I'm currently on 10.2.1, and CTRL + CMD + J doesn't seem to work. That user indicated that it would work for Xcode 11 – do you know of anything that will work for 10.2.1? Also, if you post it as an answer I'd love to give you credit! – Elliot Schrock Jul 03 '19 at 12:19
  • Unfortunately I never found a workaround for Xcode 10. – I have added an answer to the original question. – Martin R Jul 03 '19 at 12:21
  • I'm using Xcode 10.2.1. If by "custom operators" you mean methods you've implemented in your project, this works fine for me: **CMD+CTRL+click** will jump from a call to the declaration(or definition)., **CMD+click** will give you a menu. – bshirley Jul 03 '19 at 14:49

0 Answers0