Copying, cutting, pasting ST-code

How to copy code in the ST-editor onto the clipboard of the operating system:

  1. Select the code that you want to copy.

  2. In menu Edit or from the context menu of the ST-editor, select Copy. Alternative: Press Ctrl+C.

How to move code in the ST-editor onto the clipboard of the operating system:

  1. Select the code that you want to move.

  2. In menu Edit or from the context menu of the ST-editor, select Cut. Alternative: Press Ctrl+X.

How to paste text from the clipboard of the operating system to the ST-editor:

  1. Go to the position in the ST-editor where you want to paste the text.

  2. In menu Edit or from the context menu of the ST-editor, select Paste. Alternative: Press Ctrl+V.

Use the command Copy qualified name (in menu Edit or from the context menu of the editor) in order to qualified name of the selected element onto the clipboard.

  • Example 1: If you select the command when you are have selected variable count in program Timer within an ST-object, Timer.count will be copied onto the clipboard.

  • Example 2: If you select the command when you are have selected element DefaultTask within the PLC-object local, LocalConfiguration.local.DefaultTask will be copied onto the clipboard.