Xcode 9: cmd+click on an identifier inside a comment / pragma does not jump to the identifier's declaration
Originator: | avedesk | ||
Number: | rdar://34459459 | Date Originated: | 15-Sep-2017 03:30 PM |
Status: | Open | Resolved: | |
Product: | Developer Tools | Product Version: | Xcode 9 |
Classification: | UI/Usability | Reproducible: | Always |
Summary: In Xcode 8, cmd+clicking on the name of an identifier (e.g. classname) inside a comment or #pragma mark would jump to the declaration of the identifier (e.g. the @interface). This no longer works in Xcode 9. This functionality in Xcode 8 was really handy when one segmented code into different "#pragma mark" sections based on superclasses. Unfortunately, this no longer works in Xcode 9. Rightclicking on the identifier name and using "Jump to definition" also does nothing. Steps to Reproduce: 1. Have a pragma "#pragma mark - UIView" or a comment "// this references UIView in some way" 2. cmd+click on "UIView" Expected Results: 1. Jumps to the definition of UIView Actual Results: 1. Nothing happens :-( 2. Sadness Version: Xcode 9 Notes: This is a regression from Xcode 8: it worked perfectly well in Xcode 8
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!