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

tab推荐2个空格,而不是4个空格 #2

Open
huang-x-h opened this issue Nov 11, 2013 · 5 comments
Open

tab推荐2个空格,而不是4个空格 #2

huang-x-h opened this issue Nov 11, 2013 · 5 comments

Comments

@huang-x-h
Copy link

Use soft tabs set to 2 spaces

@hainee
Copy link

hainee commented Nov 11, 2014

俩空格明显没有4空格具有更好的可读性

@qiansen1386
Copy link

但是大家都是用2个空格

@hainee
Copy link

hainee commented Jun 14, 2016

我不管别人用几个,我遵循自己的感觉,我喜欢中文的4个空格。

@qiansen1386
Copy link

那这就成了你的 personal style guide 而非 airbnb style guide 了:joy:

Repository owner deleted a comment Feb 26, 2024
@chenbimo
Copy link

神经病啊,瞎几把艾特,不过我同意 @hainee 的4个空格,2空格是给英文母语的人看的,很直观,非母语看起来真的一团糟,就空格这个问题来说,抛弃人性化体验去追求统一风格,不可取。

@github-staff github-staff deleted a comment from naudachu May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@huang-x-h @qiansen1386 @hainee @chenbimo and others