垂直边缘设置

发布于 2024-07-29 05:13:17 字数 212 浏览 1 评论 0原文

您在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

软的没边 2024-08-05 05:13:17

宽屏显示器和对较小字体的偏好(因此我会得到更多垂直线)使得 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")

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文