Systems Engineering Software

Editing files and executing commands

This page contains information on editing text files and executing commands (such as starting a simulator).

Editing a text file

Whenever you open a text file, change it, or the editor receives the focus, the file is checked for errors. If there are errors (or warnings), they are displayed in the editor as shown below.

../_images/model_with_error.png

Note that you can hover over an error in the source code itself to find out what the problem is. Alternatively, you can hover over the error marker in the margin of the editor, or look at the Problems view. Also, if a file has an error or a warning, an overlay icon is shown in the Project Explorer (or Package Explorer) view, for that file, the directories that contain it, and the project that contains it.

Executing commands

If you have a file without errors, you can execute certain commands on it. Our software adds several commands to Eclipse. For instance, both Chi 3 and CIF 3 have simulation commands.

To execute a command on a file, right click the file in the Project Explorer or Package Explorer view, and select the command. Alternatively, if you have the file open in an editor, right click the editor, and select the command.

The commands that are available are determined by the file extension of the file. That is, only the commands applicable for a certain file are shown.

Besides simulation, other commands may be available, depending on the language and toolset you use. Consult the specific documentation for the toolset you’re using, for more details.