The workspace¶
Beyond the Scelo pipeline, the IDE is a full VS Code-style code workspace — a Monaco editor, a real terminal with bundled Python and R, language servers, search, Git, and a workspace AI panel. This is where you write and run the code your pipeline exports, or any actuarial code of your own.
Desktop only
The workspace needs the Electron app (the window.scelo bridge). In a plain
browser you'll see a "browser preview — full workspace requires Scelo IDE"
badge and each panel renders a stub. Everything below assumes the installed
desktop app.
Opening a workspace¶
Open the workspace at /workspace (or from the welcome screen). The first
time, pick a folder:
- The FILES sidebar shows a choose… / change… button → native folder picker.
- Or run File: Open Workspace… (⌘/Ctrl+O) from the command palette.
- Switch later with Workspace: Switch Workspace… (⌘/Ctrl+⇧+O).
Your open tabs, active file, selected sidebar tab, panel widths, terminal visibility, and AI-panel state are all saved per workspace and restored next time you open it.
The layout¶
- Left sidebar — six tabs: FILES, SEARCH, OUTLINE, GIT, PROBLEMS, TESTS. Drag its right edge to resize (180–600px).
- Center — open-file tabs, the editor, and a collapsible terminal docked below it.
- Right — the AI panel (toggle with ⌘/Ctrl+⇧+A); drag its left edge to resize (240–700px).
- Bottom — the status bar; toasts appear top-right.
What's in here¶
| Page | Covers |
|---|---|
| Editor & files | Monaco editor, language servers, the file explorer, viewers for CSV / Markdown / notebooks |
| Terminal & runtimes | The integrated terminal, bundled Python & R, running scripts and tests |
| Search, Git, Problems, Tests | Find-in-files, Git stage/commit, diagnostics, test discovery |
| Command palette | Quick Open, the command palette, symbol search |
The workspace AI panel¶
A code assistant docked on the right, separate from the Scelo stage chats. Toggle it with ⌘/Ctrl+⇧+A.
- It uses the same AI provider as everything else and keeps a per-workspace conversation ("Workspace: <folder>").
- Attach context (on by default) prepends your current editor selection (or the first 40 lines of the active file) so the model sees your code.
- Send selection — ⌘/Ctrl+L stages the selected code into the panel.
- Apply to file — under any reply, a fenced code block whose language matches the active file gets an apply block button that replaces your selection (or inserts at the caret). You still save manually.