Skip to content

Commit

Permalink
Merge pull request #8629 from Chocobo1/guide
Browse files Browse the repository at this point in the history
Extend Coding Guidelines to cover other languages
  • Loading branch information
Chocobo1 committed Mar 30, 2018
2 parents aa122b0 + 315d983 commit ccc91e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CODING_GUIDELINES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
All new code must follow the following coding guidelines.
If you make changes in a file that still uses another coding style, make sure that you follow these guidelines for your changes instead.
All new code **must** follow the following coding guidelines.
If you make changes in a file that still uses another coding style, make sure that you follow these guidelines for your changes.
For programming languages other than C++ (e.g. JavaScript) used in this repository and submodules, unless otherwise specified, coding guidelines listed here applies as much as possible.

**Note 1:** I will not take your head if you forget and use another style. However, most probably the request will be delayed until you fix your coding style.
**Note 2:** You can use the `uncrustify` program/tool to clean up any source file. Use it with the `uncrustify.cfg` configuration file found in the root folder.
**Note 3:** There is also a style for QtCreator but it doesn't cover all cases. In QtCreator `Tools->Options...->C++->Code Style->Import...` and choose the `codingStyleQtCreator.xml` file found in the root folder.
Expand Down

0 comments on commit ccc91e2

Please sign in to comment.