BasicIndentLevel
|
Python and JavaScript |
ide.Java.BasicIndentLevel = n (n=0-9, default=1)
In some languages, incorrect or imprecise indentation of the source code results in warnings or error messages.
This key can therefore be used to override the standard basic indentation level of the generator if required.
A single-digit number between 0 and 9 is permitted as a parameter value; it can be used to determine the indentation level of the first generated IF-statement.
Entry in an LFET.Project.ini-file:
ide.Python = true
ide.Python.BasicIndentLevel = 2
Entry in an LFET.Project.yaml-file:
LFET:
ide.Python:
Enabled: true
BasicIndentLevel: 2
Value 1 is the default setting; hence:
-
the IF-ELSE tree is shifted one level to the left using Value 0
-
the IF-ELSE tree is shifted one or several levels to the right using Value equal to or greater than 2.
It is specified individually for each language in the generator how many characters are indented per level.