Skip to content

IDEs 🟑 BETA

Editing happens in the suite editor and terminal; no external IDE extension is required to contribute.

Where this topic sits in the Developer guide

Editor

The Suite ships an editor at botui/ui/suite/editor.html with its JavaScript modules and partials. It is the documented surface for editing bot files inside the desktop shell.

Terminal

A terminal surface exists under botui/ui/suite/terminal/; Tauri permissions are declared in botapp/permissions/default.toml and capabilities in botapp/capabilities/default.json.

External editors

A local editor may open the same files, but the Suite shell is the supported context for HTMX apps. There is no published VS Code extension in this repository.

Common Features Across All Editors

Feature Where it comes from
Syntax highlighting Editor assets under botui/ui/suite/editor/
Snippets Editor modules in the Suite
File associations Suite routing and the product configuration
Tauri IPC Hand-written permissions and capabilities

Snippets

Snippets are defined in the editor assets; no external snippet package is documented here.

File Associations

The product file controls which apps are visible; the suite shell resolves an app id to its HTML surface.

Debugging Support

Use the browser console and CLIENT: log prefixes for UI errors; Rust changes need a debug rebuild (root AGENTS.md, Debugging Rules).

Best Practices

Keep source files under 450 lines, split modules by responsibility and run the design-system guard on any UI change.

Troubleshooting

A directly opened suite HTML file is a fragment and will fail; open the desktop route so the shell can bootstrap the modules.

Limits

  • No IDE extension is shipped from this repository; do not document one.
  • The editor and terminal are Suite surfaces, not standalone applications.
  • BotUI static files need no recompilation; a Rust change in botui/src/ does.