垂直边缘设置
您在 IDE 中对垂直边缘使用什么列设置。 我在行模式下使用 80 列,但我想知道这是否常见或者是否有更常见的标准? 我见过其他选项,例如背景模式,但发现它太分散注意力。
对于那些不熟悉的人来说,垂直边缘是一条线或一个区域,用于标记可以编写代码的部分。 超出的任何内容都可能无法在其他代码阅读器中以最佳方式格式化,或者使代码可读性变得更加困难。 如果我的理解不准确,请指正。
What column setting do you use in the IDE for the vertical edge. I use 80 columns in line mode, but I wanted to know if this is common or is there a more common standard? I have seen other options like background mode, but found it too distracting.
Vertical Edge, for those who are unfamiliar, is a line or an area which marks off the section where the code can be written. Anything beyond may not format the best way in other code readers or makes code readability tougher. Please correct if my understanding is inaccurate.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
宽屏显示器和对较小字体的偏好(因此我会得到更多垂直线)使得 80 的宽边有点缺乏。
我没有垂直列设置。 任何可能太宽的编码行(通常是 ifs),我都会在逻辑运算符处拆分。 对于文本行,它有点模糊,我实际上将它们分开,但将它们分开保守。
注意:您的问题似乎与:https://stackoverflow .com/questions/903754/do-you-still-limit-line-length-in-code 和问题 746853(我无法超链接到该问题,因为我是“新用户”)
Widescreen monitors and a preference for a smaller font so I get more vertical lines makes 80 a little lacking on the wide side.
I don't have a vertical column setting. Any coding lines (usually ifs) that may be too wide, I split at logical operators. For text lines, its a bit more nebulous where I actually split them but split them conservative.
Note: Your question appears to be the same as: https://stackoverflow.com/questions/903754/do-you-still-limit-line-length-in-code and question 746853 (which I can't hyperlink to as I am a "new user")