// in
FUNCTION_BLOCK POU
VAR PERSISTENT
var1 : INT;
END_VAR
VAR CONSTANT
number : INT := 5;
END_VAR
VAR RETAIN
y : REAL;
END_VAR
// out
FUNCTION_BLOCK POU
VAR PERSISTENT
var1 : INT;
END_VAR
VAR CONSTANT
number : INT := 5;
END_VAR
VAR RETAIN
y : REAL;
END_VAR
It should not remove the indentation. Probably caused by the space which seperates RETAIN, PERSISTENT and CONSTANT.
The following code is formatted as follows
It should not remove the indentation. Probably caused by the space which seperates
RETAIN
,PERSISTENT
andCONSTANT
.