Skip to content
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

Format code using clang-format #12

Closed
Calinou opened this issue Sep 24, 2019 · 2 comments
Closed

Format code using clang-format #12

Calinou opened this issue Sep 24, 2019 · 2 comments

Comments

@Calinou
Copy link
Contributor

Calinou commented Sep 24, 2019

We should look at using clang-format to format code automatically. This will lead to a more consistent code style overall.

If clang-format has a preset commonly used for Qt applications, we could use that one.

@azagaya
Copy link
Owner

azagaya commented Sep 24, 2019

Yes, we already discussed that on discord! Also we discussed about defining a case style. Right now in changing all the text in code to english, because it was in spanish and other potential contributors complained about that. Next i will make a commit with clang-format applied to all the files, and then write a document with the casing style. Right now there is a mix of everything.

@azagaya
Copy link
Owner

azagaya commented Sep 26, 2019

All files were formated with clang-format, and contribution details added to CONTRIBUTING.md.

@azagaya azagaya closed this as completed Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants