Provide .clang-format file #33

Closed
opened 2023-08-09 03:44:14 +00:00 by ilidemi · 3 comments
Collaborator

Orca codebase uses tabs+spaces indentation which is tricky to type by hand or fix after copy-paste. It is probably not the best use of developer's attention. Delegating it to a computer would make our lives easier.

Orca codebase uses tabs+spaces indentation which is tricky to type by hand or fix after copy-paste. It is probably not the best use of developer's attention. Delegating it to a computer would make our lives easier.
Collaborator

I could also just change my editor's settings to use only spaces, if that's what you all use. (I find tabs+space are nice to change the indentation width without breaking alignment, but I don't care that much)
But either way, having an .clang-format file is probably a good idea.

I could also just change my editor's settings to use only spaces, if that's what you all use. (I find tabs+space are nice to change the indentation width without breaking alignment, but I don't care that much) But either way, having an .clang-format file is probably a good idea.
Owner

Maybe a .editorconfig file will suffice?
https://editorconfig.org/

Maybe a .editorconfig file will suffice? https://editorconfig.org/
Owner

.editorconfig is only sporadically respected by editors and I don't think it can be used to fix up existing files without actually opening them in your editor. I think a simple .clang-format would be better.

`.editorconfig` is only sporadically respected by editors and I don't think it can be used to fix up existing files without actually opening them in your editor. I think a simple `.clang-format` would be better.
rdunnington was assigned by MartinFouilleul 2023-08-13 09:43:55 +00:00
Sign in to join this conversation.
No Label
macOS
windows
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hmn/orca#33
No description provided.