Solid-compatible source code editor for solid-panes system
Extracted from the solid-panes monolithic repository.
The source code allows one to mint a new source code file and display and edit an existing one.
If the user edits a data file (such as turtle format) then the syntax is checked before they save it back.
Once selected this pane as a view of a file, then the pen icon allows to switch to editing mode, and the check mark button allows the file to be saved back.
Editing can be aborted by the cancel(X) button.
The SolidOS team is using GitHub Copilot integrated in Visual Studio Code. We have added comments in the code to make it explicit which parts are 100% written by AI. Example:
- Some code was generated by the GPT-5.3-Codex model in GitHub Copilot based on the following prompt:
- Can you refactor this code setUnedited () to use CSS instead of inline js styles