“Jump to definition” for methods without external parameter names

后端 未结 1 1441
离开以前
离开以前 2020-12-06 19:06

For method calls with external parameter names I can cmd-click in Xcode on any parameter name to jump to the method definition. For example, in

相关标签:
1条回答
  • 2020-12-06 19:57

    You have to do some work:

    let c = Array.init("abc".characters)
    //           ^^^^^
    

    Use initializer expression, then cmd + click on it.

    0 讨论(0)
提交回复
热议问题