我在哪里可以找到 Xcode 编辑器中的行号? [英] Where do I find the line number in the Xcode editor?

查看:45
本文介绍了我在哪里可以找到 Xcode 编辑器中的行号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Xcode 3 中,显示了当前光标位置的行号.我在 Xcode 4 中没有看到这个.有没有设置可以打开它?或者给我一个按键?

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 give it to me?

推荐答案

对于 Xcode 4 及更高版本,打开首选项 (command+,) 并选中显示: 行号"在文本编辑"中部分.

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

Xcode 9

Xcode 8 及以下

这篇关于我在哪里可以找到 Xcode 编辑器中的行号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆