-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Ignore tasks.json and use tabs in C files #9295
Conversation
Added ignore flags for - .vscode\tasks.json - .vscode\c_cpp_properties.json Changed settings.json to use tabs, not spaces for C file types.
I am on the camp of spaces as a good compromise, but the original pr with the rules was meant for discussion. I am ok either way, and other editors can be setup to match. Mixing tabs and spaces on the other hand is bad and leads to things being formatted wrong, specially when tabs are configured to be displayed as anything but 8 spaces. |
Dev docs links to this style guide which mandates 4 spaces. |
Has that changed? I always thought it was the opposite. Tabs should be hard tabs, equating to 4 spaces. |
No it's always been 4 spaces, no hard tabs. The style guide item was last updated 2017-07-04. |
I create the pr that set spaces as default because of #9173 |
Use spaces not tabs
OK, I've corrected the PR to remove the tab part. Shame, I've always hated spaces for indents. Ah well, the other parts can be merged. The constant want to update the tasks.json file is a bit annoying. |
So did I, but that fight was lost a looong time ago. :( |
One more thing to make me hate Python 🤣 Just use proper structure!!! |
Added ignore flags for
Changed settings.json to use tabs, not spaces for C file types.