You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have quite some conditional compilation as follows:
function foo returns logical (
):
return true.
end function.
&if somecondition &then
function bar returns logical (
):
return true.
end function.
&else
function nobar returns int64 (
):
return 0.
end function.
&endif
These are being flagged by the consistent indent rule. Could this rule be fine tuned to allow discrepancies on main block statements such as:
function
procedure
method
method is less of an issue since they are normally all indented, allowing room for an outdented preprocessor. I did however have one case where I thought it made no sense indenting everything except for the class / end class statements so thought it would be useful to put the method statements at the beginning of the line.
The text was updated successfully, but these errors were encountered:
We have quite some conditional compilation as follows:
These are being flagged by the consistent indent rule. Could this rule be fine tuned to allow discrepancies on main block statements such as:
method
is less of an issue since they are normally all indented, allowing room for an outdented preprocessor. I did however have one case where I thought it made no sense indenting everything except for theclass
/end class
statements so thought it would be useful to put themethod
statements at the beginning of the line.The text was updated successfully, but these errors were encountered: