Changes between Version 20 and Version 21 of CodeStyle
- Timestamp:
- 12/23/16 21:18:53 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodeStyle
v20 v21 27 27 28 28 = Line wrapping = 29 The maximum line length is 80 characters. When lines exceed this length, wrap them using a double indent (ie 8spaces) on the new line. For example:29 The maximum line length is 80 characters. When statements exceed this length, wrap them by aligning with the appropriate (, or otherwise using a single indent (ie 4 spaces) on the new line. For example: 30 30 {{{#!c 31 31 void my_function(void) 32 32 { 33 33 if (variable_with_artificially_long_name_1 != 0 34 34 && variable_with_artificially_long_name_2 != 0) 35 35 { 36 36 return variable_with_artificially_long_name_1 37 38 37 + variable_with_artificially_long_name_2 38 + variable_with_artificially_long_name_3; 39 39 } 40 40 }