[英]How can you find out the line of code your cursor is on in Xcode?
如何在Xcode中找到光标所在的代码行?
Turn on 'Show Line Numbers' in the text editing preferences. 在文本编辑首选项中启用“显示行号”。 Here's a screen shot for Xcode 4:
这是Xcode 4的屏幕截图:
and for Xcode 3: 对于Xcode 3:
For me, anyway, right below the title bar of the editor window it says the name of the file and the line number: 对我来说,无论如何,在编辑器窗口的标题栏下面,它会显示文件的名称和行号:
ImportExportExample.java:32 ImportExportExample.java:32
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.