Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

120个字符是不是太长了? #5

Open
miller opened this issue Apr 26, 2014 · 8 comments
Open

120个字符是不是太长了? #5

miller opened this issue Apr 26, 2014 · 8 comments

Comments

@miller
Copy link
Contributor

miller commented Apr 26, 2014

每一行代码严格以120字符为最大长度,即一行包括前后的空格, 不得「MUST NOT」超过120个字符。

我的MAC sublime120个都超出屏幕了.....

@2betop
Copy link
Contributor

2betop commented Apr 26, 2014

100呢?超出了吗?我这120还有多。:D

@miller miller added this to the 1st edition milestone Apr 26, 2014
@miller
Copy link
Contributor Author

miller commented Apr 26, 2014

image
全屏情况下,sublime 一行是97个,我的屏幕上80个字符已经很长了,可以多找几个样本。

@nwind
Copy link
Member

nwind commented Apr 26, 2014

这条作为建议吧,有时候内嵌 HTML 很容易超过 120。

@2betop
Copy link
Contributor

2betop commented Apr 28, 2014

我知道我这为何我这设成120后还有空间,我把我的minimap给关掉了。

@2betop
Copy link
Contributor

2betop commented Apr 28, 2014

我已经把must not 改成了should not

@2betop
Copy link
Contributor

2betop commented Apr 30, 2014

要不改回80个字符,同时把缩进改成2个空格?有赞同的吗?

@Singularity-zju
Copy link
Contributor

tab必须4个空格啊。
长度按照720p显示器+附着minimap的最大化一般宽度来定吧。

@nwind
Copy link
Member

nwind commented Apr 30, 2014

2 个空格看起来真不习惯,但不知道为啥现在很流行,这个问题我也纠结过,不过目前感觉还是 4 个好了,毕竟是大多数人的习惯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants