Save a code item
- Last UpdatedApr 07, 2025
- 2 minute read
Studio overrides the third-party save mechanisms of the code editor. This means that you can save while the code editor is open. Save updates the code item and saves the project, informs you of any errors, and enables you to update the code without closing and reopening the code editor.
Background
The code editor for code items is a third-party product from Syncfusion. By default, the Syncfusion code editor had mapped the keyboard shortcut CTL-S to its own save mechanism, which was overriding the save shortcut in Studio. It also exhibited the default behavior that attempts to save open a Save As dialog box. The work-around included closing the code editor before saving and going through a number of unnecessary steps to achieve the wanted results.
Validating the project

To validate your code
Studio has a Validate menu item designed to validate code items in the project which have their CompileAction property set to Compile.
-
In Studio, on the Project menu, click Validate.
-
In the Output window at the bottom of the screen, verify that the project validated successfully.
