Roald87 / TcBlack

Opnionated code formatter for TwinCAT.
MIT License
105 stars 10 forks source link

Empty line should have equal number of tabs as surrouding code #15

Closed Roald87 closed 4 years ago

Roald87 commented 4 years ago

Or else there will be unnecessary diffs, since the VS TwinCAT editor automatically adds these indents.

This is to prevent diffs like these (double empty lines are automatically removed):


VAR
    var1 : REAL;
-    
-    
+
    var2 : REAL;
END_VAR