Core Features of FastGPT Online Code Editor
The FastGPT online code editor is integrated with the workspace file management system for skill development. Clicking any file in the workspace file tree loads the selected file into the central editor panel, with three critical built-in capabilities:
- "Auto-Save": The editor automatically saves and syncs your edits to the backend sandbox container as you type, removing the need for manual save actions during active editing.
- "Real-Time Workspace Sync": The file tree continuously monitors and syncs all file changes. This includes direct file edits, package dependency installations run via the integrated terminal, and new files generated by background processes; the tree updates dynamically without requiring manual user refreshes.
- "Change Isolation": All code modifications made in the online editor only take effect immediately within the isolated debugging environment, and do not directly impact live deployed applications.
Step-by-Step Online Code Editing Workflow
Follow this structured process to work with code in the FastGPT workspace:
- Navigate to the workspace file tree panel within the FastGPT build interface.
- Select and click any listed file to open it in the central editor window.
- Edit the file content directly in the editor; all changes are auto-saved and synced to the backend sandbox in real time.
- (Optional) Use the integrated terminal to install package dependencies or run background processes; the file tree will automatically update to reflect new or modified files.
- Validate your changes within the isolated debugging environment, which does not affect live application instances.
- To deploy your updated code to a production environment, click the "Publish" button to generate an official application version. For full details on the publishing workflow, reference the Versions & Publishing documentation.
Operational Guidelines
All code changes made in the online editor are confined to the debugging environment by default, ensuring live applications remain unaffected during development. No local file system changes are made to your host machine, as all edits and processes run within the isolated backend sandbox provided by FastGPT.
Source: FastGPT official source
Applicability and version scope
Use this page for the documented Tutorials scenario. Confirm the FastGPT, dependency, API, and deployment versions in the official source before applying a change.
Safety guardrails
Use [REDACTED_CREDENTIAL] for credentials and private data. Confirm the documented environment and version before review.
Rollback guidance
Restore the prior technical-content authority snapshot. Restore saved configuration and data snapshots, then repeat the smallest verification scenario.