Using an External Editor

Optionally, you can use an external editor to edit C code components.

  1. Click the Activate External Editor button in the General toolbar.

    The view of the C code editor changes. The code pane is replaced by a selection field and a text field.

    All defined methods or processes and the component header are listed in the selection field.

  2. In the selection field, select the method or process you want to edit.

    The valid code for the selected method or process selected is displayed in the text field for checking purposes.

  3. Click Start Edit to open the external editor with the code of the selected method, process, or header.

    After the external editor has been opened, the method or process in the upper dialog field is marked with a green pen in the symbol:

  4. Edit the code in the external editor.
  5. Save the newly created or modified code in the external editor.

    The saved code from the external editor is transmitted to ASCET. The code changes are displayed in the text field.

    This does not close the connection to the external editor. You can continue working in the external editor.

  6. To end the external editor mode, click Activate External Editor again.

    The following message opens: You are in external edit mode. All files will be filed in. Be sure to have saved them in your external editor.

    Note

    Code changes made in the external editor after you ended the external editor mode cannot be returned to ASCET. If you need to re-edit the code, you must activate () the external editor again.

  7. If necessary, save the code in the external editor.
  8. Confirm the message with OK.

    The connection to the external editor is closed, the green pen in the method or process symbol is deleted. Any changes made afterwards in the open external editor are not applied.

See also

External Editor View (C Code Editor)

Specifying Components in C Code