CodeEditor Manual

Your integrated IDE

Table of Contents


Introduction

The HyperEdge CoDesigner is an IDE designed for editing and managing Python scripts directly within the HyperEdge platform.

Accessing CoDesigner

To access the HyperEdge CoDesigner, there are 2 ways:

  • Click CoDesigner from the plugin and choose the option Open.

  • Open your preferred web browser and navigate to localhost:5001. This will open the CoDesigner interface directly in your browser.

The CoDesigner interface is divided into two main sections:

  • Left Panel (PythonScripts Directory): This panel displays a list of all Python scripts currently saved within your HyperEdge environment. You can click on any script to load it into the editor.

  • Right Panel (Script Editor): This is the main editor window where you can write, edit, and review your Python scripts. The editor supports syntax highlighting and line numbering to enhance readability and ease of use.

Toolbar:

  • Save: Click this button to save any changes made to the script currently loaded in the editor.

  • Reload: Use this button to reload the current script from the server, useful for discarding unsaved changes.

Working with Python Scripts

Editing Scripts:

  • Select a script from the left panel to load it into the editor.

  • You can directly type or modify the Python code in the right panel.

  • Use the toolbar options to save or manage your script as needed.

Creating New Scripts:

  • To create a new script, right-click in the left panel at the correct directory and select Create New File.

  • This will open a pop-up window for you to name your file. Click Create to create the file in the specified directory.

Saving and Reloading Scripts

Saving Changes:

  • After making changes to your script, click the Save button in the toolbar to update the script on the server.

  • Ensure that you save frequently to prevent loss of data.

Reloading Scripts:

  • If changes are not reflected, click the Reload button.

Last updated