-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Update editor config indent #1126
Conversation
Curious why? FWIW Prettier has an open issue to switch the default to tabs. |
The main reason is this The left hand side is more whitespace than actual content. Also I prefer to just have the same indentation settings no matter the language. |
@auscompgeek This is how it looks for me. I'm pretty sure @pokey had a similar problem. |
Looks like it's a GitHub setting The advantage of tabs is that you can decide how wide you want them to be |
Cool thanks, but since 8 is the default spaces have the advantage of being consistent. Personally I don't se why you would want tabs in some languages and spaces in other. |
The argument would be to use tabs everywhere |
I much rather have tabs than mixing |
I think tabs are better in theory, but I worry that in practice they may be a bit cumbersome. Eg
@auscompgeek if you are planning to make it to meet-up today maybe we can discuss then |
+1 on just converting everything to spaces. Also, lol at that list of merge conflicts :) |
After today's session we went other route and actually changed everything into tabs :D |
Ah well. As long as it's consistent. |
bebac30
to
cc9a513
Compare
Oh goodie, I can finally convert my vim config to VSCode |
For now, let's stick to spaces, as the tooling hasn't really caught up with tabs yet, eg:
We can revisit once Prettier 3 comes out |
f046664
to
34f4a09
Compare
for more information, see https://pre-commit.ci
@pokey Updated once again with space indentation |
Checklist