-
Notifications
You must be signed in to change notification settings - Fork 1.5k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Use of hard tabs in code style ? #9173
Comments
Not as far as I know. Tabs should be used for indentation, not spaces. |
Damn, just realised I'm a perp here! VSCode uses hard tabs by default. I've just changed the setting. In the settings, search for |
Unfortunately its just too easy to go with |
I am not against having .emacs .vimrc files in the repo to try to enforce desired behavior as default. |
A nice little tip for VSCode To convert existing indentation from spaces to tabs hit Ctrl+Shift+P and type: |
Note: Please do not waste time fixing tabs in HITL-related code; they are fixed in PR: #8347 |
Tab and curly bracket settings for vscode I am not an emacs user, so I will let @stronnag add his .emacs file Should help address iNavFlight#9173
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I've noticed there seems to be a lot of hard tabs used in PR's that have been merged recently. This screws up the formatting of the code when viewed on Github making it hard to read. I thought hard tabs were not to be used according to:
https://github.com/multiwii/baseflight/wiki/CodingStyle
Has this requirement been relaxed ?
The text was updated successfully, but these errors were encountered: