ide.Default

ide.Default = Java [, <ProgrammingLanguage>,...]

By default, all functions related to generating a program code are only offered in LF‑ET if at least one source element is stored in the decision table.

This key activates the generation functions in LF‑ET for one or more languages, even when no source elements are stored in the decision table itself.

One language

Entry in an LFET.Project.ini-file for one language:
ide.default = Java
Entry in an LFET.Project.yaml-file for one language:
LFET:

  ide.default: Java

Several languages

Entry in an LFET.Project.ini-file for several languages:
ide.default = Java, TypeScript, Python
Entry in an LFET.Project.yaml-file for several languages:
LFET:

  ide.default: Java, TypeScript, Python
Alternative:
LFET:

  ide.default:
   - Java
   - TypeScript
   - Python

In the Generation menu languages are shown in the specified sequence:

menu multi lang

Application

This parameter is useful when the desired program generation option is not available

  • because interface generation is used and therefore no source elements are stored in the decision tables themselves; see ide.Java.Interface

  • or when a program code should be ge­ne­ra­ted from decision tables without source elements in a certain way, see ide.Java.SourceDerivation

    You can find a practical example of this in chapter: Activate Java