Xcode 9 beta doesn't support Go To Definition in pragma mark
| Originator: | alexito4 | ||
| Number: | rdar://32737898 | Date Originated: | 13-Jun-2017 02:46 pm |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | 9.0 beta (9M136h) |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: A common use for pragma marks is to group implementation of protocols. In Xcode <9 you could cmnd+click into the text in the source code and if the text was the name of a protocol Xcode jumped into the definition. Xcode 9 has lost this functionality, even using the new shortcuts. Steps to Reproduce: Write #pragma mark PKPaymentAuthorizationViewControllerDelegate in a source file. Expected Results: cmd+click jumps into the definition of PKPaymentAuthorizationViewControllerDelegate Actual Results: cmnd+click doesn’t jump into the definition. Not even the new ctrl+cmd+click that is used to jump into definitions now works here. Version: 9.0 beta (9M136h) Notes: ctrl+cmd+click opens a menu that contains a Jump to definition option but is far from ideal. Ideally it should be treated as any other usage and have the shortcut work directly.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!