xojo-format-code
xojo-format-code copied to clipboard
Insert/Remove blank lines where necessary
For example, a common rule is to separate variable declarations from executing code:
Dim i As Integer
Dim b As String
DoSomeCode
Would become:
Dim i As Integer
Dim b As String
DoSomeCode
Another is compressed vs. expanded select/if statements:
Select Case Name
Case "John"
DoSomething
Case "Jeff"
DoSomethingElse
End Select
Would become:
Select Case Name
Case "John"
DoSomething
Case "Jeff"
DoSomethingElse
End Select