Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 2.9 KB

File metadata and controls

60 lines (41 loc) · 2.9 KB
Root.Formatting.Spacing.BlankLine.BlankLineAfterProcedure Parent Index
Sibling aspects BlankLineAfterClass BlankLineAfterDeclaration NewlineAtEOF

BlankLineAfterProcedure

Those found after procedures or functions.

Tastes

Taste Meaning Values
blank_lines_after_procedures Represents the number of blank lines to use after a procedure ora function 1, 0, 2

* bold denotes default value

Subaspects

This aspect does not have any sub aspects.

Example

#include <stdio.h>

void proc(void){
    printf("this does nothing");
} int add(float a, float b){
    return a + b;
}

Importance

Having a specific and reasonable number of blank lines after every procedures improves on the readability of the code.

How to fix this

BlankLintAfterProcedure issues can be fixed specifying (and of course using) a reasonable number of blank lines to use after procedures' definition.