Skip to main content

Toolbar

The Editor toolbar runs along the top of the source area. The left-side controls configure the task. These are Code Language (), Core () for picking the execution core, Command-Line Arguments (), Compilation and link flags (), and Mount Data Source () for attaching a data source. Each configuration button highlights when it carries a non-default value.

The right-side controls manage view and editor state. These are Toggle variable viewer (), Toggle Layout (), three theme buttons for the preferred (), light (), and dark () themes, Restore editor code to default example (), and Toggle fullscreen ().

Source language

C and C++ are available today, and the choice is submitted with the Build to select the compiler. Switching languages leaves your source untouched. Figure 1 shows the switch with Code Language ().

Figure 1. Switching the source language between C and C++ with Code Language.

Execution Core

Core () opens the Select Active Core dialog, which lists every Signaloid C0 core available to your account. See How to Create a Custom Core for the default cores and how to make your own. Figure 2 shows the dialog in action.

Figure 2. Opening the Select Active Core dialog and picking a core.

Command-line arguments

Command-Line Arguments () opens a dialog that sets the arguments passed to your program. Arguments follow the Unix convention. The first argument is the executed binary's name.

Figure 3. Opening the Command-Line Arguments dialog, entering arguments, and saving them for the next run.

The platform stores the arguments and reuses them for every follow-up Task launched from the page. To clear them, open the dialog again, empty the text area, and click Set Arguments.

The Signaloid Cloud Compute Engine does not support quoting arguments that contain spaces. If you set the text area to arg1 "arg2p1 arg2p2", the engine treats "arg2p1 and arg2p2" as two separate arguments.

Build flags

Compilation and link flags () opens a dialog that sets the flags passed to the compiler and linker when building your program. Use it for optimization levels, warning flags, or extra libraries (for example, -O2 -Wall -lm). Figure 4 shows setting flags for the next Build.

Figure 4. Opening the Compilation and link flags dialog, entering flags, and saving them for the next Build.

The platform stores these flags and applies them to every follow-up Build launched from the page. To clear them, open the dialog again, empty the text area, and click Set Flags.

Data Source

Mount Data Source () attaches a data source that your application can read from and write to during execution. Its icon reflects the mount state, and the control highlights once a non-default mount is set.

Click the button to open the Mount Data Source dialog, then Select Data Source to open the picker. Click Mount Data Source () on a picker row to select it. You return to the mount dialog, where you enter the destination path and click Save Mount to commit it. Reset to Default restores the default mount configuration set on the Settings page, and Remove Mount clears the mount entirely. Figure 5 shows the full flow.

The dialog is shared with Settings → General, where you set the platform-default mount. The Editor's dialog can save a per-task override that applies to runs from this page only.

Figure 5. Mounting a data source with Save Mount, clearing it with Remove Mount, and returning to the platform default with Reset to Default.

Variable viewer

Toggle Variable Viewer () shows or hides the Variable Viewer. Its default visibility comes from Show variable viewer on Settings General.

Layout and fullscreen

Toggle Layout () switches the Editor and Results Panel between the stacked default and side-by-side, and the Variable Viewer adjusts its arrangement to match. Figure 6 shows both layouts and the Variable Viewer opened in each.

Figure 6. Switching the editor layout between horizontal and vertical with Toggle Layout, and opening the Variable Viewer in each layout.

Toggle fullscreen () expands the Editor to fill the viewport. Press Esc to exit.

Themes

Three buttons set the editor theme. applies a light theme and a dark theme. Neither is saved, so reloading the page returns the editor to the preferred theme set on the Settings page. returns to it without a reload.

Figure 7 demonstrates cycling through the three toolbar theme buttons.

Figure 7. Cycling through the toolbar theme buttons: preferred, light, dark, and back to preferred.