Editor Workspace
Use tabs, search, view modes, Ask AI, Try, compare, save, version history, and run history while editing Spala resources.
Editor Workspace
The editor workspace is where direct resource editing happens. Open tables, functions, endpoints, tasks, triggers, and channels from the sidebar, search palette, project graph, or overview cards.
Spala function editor with Gherkin, Visual, Split, and Code view modes Function editors can switch between readable, visual, split, and code views.
Open Resources As Tabs
Spala keeps resources open as editor tabs so you can move between related work without losing context.
- Pin important tabs so they stay open - Drag tabs to reorder your working set - Close one tab, tabs to the left or right, or every other tab - Use the modified indicator to spot unsaved work - Return to recently opened resources from search
Editor Header Actions
View Modes Switch between Gherkin, Visual, Split, and Code when the resource supports them. /flows/code-view
Remember View Save your preferred view mode so future resources open the way you work. /getting-started/interface
Ask AI Ask the Copilot about the resource or request a targeted change. /features/ai-assistant
Try Run an endpoint, function, task, or supported resource with sample input. /flows/debugging
Compare Review pending changes before saving or publishing. /features/pull-requests
Save Controls Save, discard, or revert unpublished changes from the change bar. /features/publish-export
Spala Code view showing JavaScript for a backend function Code view is available when you need direct JavaScript control.
Resource Menu
The resource menu exposes actions that are useful during review and recovery:
- Edit - rename or adjust resource metadata - Versions - inspect resource history - Runs - open run and execution history - Export JSON - download the resource definition for review or support - Revert to Published - discard draft changes and return to the live version - Delete - remove the resource, with dependency checks where needed
Search Palette
Press Cmd+K or Ctrl+K to open search. Search covers tables, functions, endpoints, tasks, triggers, and channels. When the query is empty, Spala shows recent resources first.
| Prefix | Searches | |--------|----------| | @t, @table | Tables | | @f, @fn, @function | Functions | | @e, @endpoint | Endpoints | | @tk, @task | Tasks | | @tr, @trigger | Triggers | | @ch, @channel | Channels |
Use search for speed
The fastest way to jump into a known resource is usually Cmd+K or Ctrl+K, then a type prefix and part of the name or route.
The Interface /getting-started/interface Learn the main Spala screens Project Overview /features/project-overview Inspect the whole backend before opening editors AI Copilot /features/ai-assistant Ask for changes from the editor Try & Runs /flows/debugging Run resources and inspect execution output