Replies: 7 comments
-
|
Not as far as I know. Tabs should be used for indentation, not spaces. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
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 |
Beta Was this translation helpful? Give feedback.
-
|
Unfortunately its just too easy to go with |
Beta Was this translation helpful? Give feedback.
-
I am not against having .emacs .vimrc files in the repo to try to enforce desired behavior as default. |
Beta Was this translation helpful? Give feedback.
-
|
A nice little tip for VSCode To convert existing indentation from spaces to tabs hit Ctrl+Shift+P and type: |
Beta Was this translation helpful? Give feedback.
-
|
Note: Please do not waste time fixing tabs in HITL-related code; they are fixed in PR: #8347 |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
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 ?
Beta Was this translation helpful? Give feedback.
All reactions