User Tools

Site Tools


coding_guidelines

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
coding_guidelines [2020/02/05 15:59]
daschuer [Line Widths]
coding_guidelines [2020/02/05 16:46] (current)
tapir [Line Widths] Broken lines indent
Line 86: Line 86:
 ===== Line Widths ===== ===== Line Widths =====
  
-Please configure your editor to have a max column-width of 80-columns. While it is not a strict requirement,​ 80-column cleanliness makes it easy to tile multiple buffers of code across a laptop screen, which provides significant efficiency gains to developers. Use double indent (8-spaces) for broken lines or align with the opening "​("​ in the line above for hanging indents.+Please configure your editor to have a max column-width of 80-columns. While it is not a strict requirement,​ 80-column cleanliness makes it easy to tile multiple buffers of code across a laptop screen, which provides significant efficiency gains to developers.
  
-For Mixxx'​s clang-format compatibility:​  +For Mixxx'​s clang-format compatibility ​(ColumnLimit:​ 0):  
-* Use double indent (8-spaces) for broken lines +  * Use double indent (8-spaces) for broken lines 
-* Break line after binary operators.  +  * Break line after binary operators.  
-* If you break a list of function parameters, put each parameter on a single line.  ​+  * If you break a list of function parameters, put each parameter on a single line.  ​
  
  
coding_guidelines.1580936383.txt.gz · Last modified: 2020/02/05 15:59 by daschuer