在 Xcode 中设置窗口宽度

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7283883/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 21:51:39  来源:igfitidea点击:

Setting window width in Xcode

xcodewidth

提问by BlackHyman

Probably a very straightforward question. I'd like to set the width of the code editor in Xcode 4 to be exactly 80 characters. Where would I go to do that? Alternatively, if I can make a vertical line appear that indicates the 80 character, that would be fine as well.

可能是一个非常直接的问题。我想将 Xcode 4 中代码编辑器的宽度设置为 80 个字符。我会去哪里做那件事?或者,如果我可以显示一条指示 80 个字符的垂直线,那也可以。

Thanks.

谢谢。

回答by Richard

In Xcode 4: Xcode menu -> Preferences -> Text Editing Tab -> check Page guide at column:.

在 Xcode 4 中:Xcode 菜单 -> Preferences -> Text Editing Tab -> check Page guide at column:。