Clipboard

Gene­ration variant 2 (simple class), i.e. if source elements are defined in the deci­sion table.

ide.Java.Clipboard = true | false (default = false)

In the case of Source Generation and Scrapbook Import it triggers the additional use of the system clipboard.

This can facilitate source code swapping with environments where no automatic adapter is yet available

Entry in an LFET.Project.ini-file:
ide.Java.Clipboard = true
Entry in an LFET.Project.yaml-file:
ide.Java:
  Enabled: true

  Clipboard:
    Enabled: true

Impact on gene­ration

First of all, the source file is created "completely normally", the source code is then also copied to the clipboard.

Impact on import

First of all, clipboard is checked. If this contains a generated source code in the current language, it is imported from clipboard. Otherwise, the source file is sought in the file system and imported from it.