Cicode Editor
- Last UpdatedJul 18, 2023
- 2 minute read
You use the Cicode Editor to write, edit, and debug your Cicode code. The Cicode Editor behaves similarly to other code editing tools like Microsoft Dev Studio, and contains many advanced editing features such as:
-
Dockable windows and toolbars.
-
Syntax highlighting - color highlighting of syntax functions.
-
IntelliSense AutoPrompt - function definition tooltips.
-
IntelliSense AutoComplete - automatic inline prompting and completion of functions with their parameters.
-
AutoCaseCorrect - automatic case correction of function keywords.
-
AutoIndent - automatic indent alignment of code.
-
AutoScroll - automatic mouse middle button support.
-
Drag and Drop - copy or move of selected text.
-
Bookmark and Breakpoint indicator bar - single click set and reset of bookmarks and breakpoints.
-
Keyboard Shortcuts support.
Click the "Launch Cicode Editor" button in Activity Bar of the Plant SCADA Studio to start the Cicode Editor.
Cicode files are stored as text files. For more information see Using Cicode Files.
Note: Be careful not to confuse a Cicode file (*.ci) with an Include file (*.cii).
You could use any text editor to view or edit the Cicode files, however, the Cicode Editor provides integrated views specific to Cicode. As well as the features listed above, it includes:
-
Breakpoint window
-
Output window
-
Global Variable Window
-
Stack window
-
Thread window
-
Compile Errors window
-
VBA Watch window
-
Files window
To minimize potential future problems with maintaining your Cicode files, you should adopt a programming standard as early as possible, as discussed in the section Using Cicode Programming Standards. Maintain structured Cicode files, by logically grouping your Cicode functions within the files, and by choosing helpful descriptive names.
Modular programming methods are discussed in the section Modular Programming. Cicode functions are introduced in the section titled Using Cicode Functions. Suggestions for debugging your Cicode is included in the section titled Debugging Cicode.
