为什么在您的IDE中使用等宽字体? [英] Why use monospace fonts in your IDE?

查看:213
本文介绍了为什么在您的IDE中使用等宽字体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看到了几个字体的主题,似乎大多数人使用等宽字体进行编程任务。我一直在使用Verdana进行编程几年,我真的很喜欢增强的可读性,而不会丢失任何与monospace相关的东西。

为什么使用等宽字体? / b>

解决方案

在等宽字体中:


  • 等长的字符串文字看起来是平等的。

  • 很容易看到如下的标点符号:(){}

  • 类似的字符看起来更加不同:Il 0O vs Il 0O

  • 您知道一行是否会在X个字符的窗口上换行。这意味着您的团队可以标准化为100个字符行,并且一行总是看起来像一行


I've seen a couple of font topics on SO and it seems a majority of people use monospace fonts for programming tasks. I have been using Verdana for programming for a couple of years and I really like the enhanced readability, without missing anything monospace related.

Why do you use a monospace font?

解决方案

In a monospace font:

  • Equal-length string literals look equal.
  • It's easier to see thin punctuation marks like : () {}
  • Similar characters look more different: Il 0O vs Il 0O
  • You know whether or not a line will wrap on a window X characters wide. This means that your team can standardize on say 100 character lines and a line will always look like a line

这篇关于为什么在您的IDE中使用等宽字体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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