Where do I find the line number in the Xcode editor?

后端 未结 6 1827
逝去的感伤
逝去的感伤 2020-11-28 19:09

In Xcode 3, the line number of the current cursor location was displayed. I don\'t see this in Xcode 4. Is there a setting that will turn it on? Or a keypress that will giv

6条回答
  •  星月不相逢
    2020-11-28 19:53

    For Xcode 4 and higher, open the preferences (command+,) and check "Show: Line numbers" in the "Text Editing" section.

    Xcode 9

    XCode 8 and below Xcode Text Editing Preferences screen capture with Text Editing and Line Numbers highlighted

提交回复
热议问题