The workbench
- Activity bar: Explorer, Outline, Overrides, Drafts, Tokens, Source Control, Pull requests and issues, Search, and the settings.
- Explorer over several workspace roots: the kernel designs, the settings, the installation and one root per active extension with a design folder. vendor/, var/, .git and node_modules are never shown.
- Tabs with a dot for unsaved changes and a "D" for a draft; the Monaco editor; the panel with Output, Problems and Logs; a status bar with the path, the draft state, the language and the siteaccess.
- The command palette (Ctrl+Shift+P or F1) lists every command by name with its key; Go to file (Ctrl+P); focus mode (Ctrl+K Z).
- Your own settings.json and keybindings.json: theme (auto, light, dark, high contrast), font size, tabs, word wrap, minimap, autosave of drafts.
Language services
- Templates: completion of functions, operators, fetch functions, your variables and a snippet library; hover with the help center's reference page; go to definition of an include in the design chain of the current siteaccess; diagnostics while you type; format the document.
- INI files: completion of sections and settings from the defaults of the kernel and the active extensions, hover with the comment and the default.
- Translation files: checked against the schema, with a warning when a translation drops a placeholder.
- PHP: php -l while typing, and with Phpactor installed (./console exp:code:install phpactor --apply) completion, hover and go to definition.
- The admin styling rules, live: a <style> block or style="" in an admin template is a warning.
- Outline, Where used and breadcrumbs: the structure of the file, the templates that include it and the rules that point at it.
Preview and design tools
- The draft preview: any page of any siteaccess with your template drafts, while the site keeps the published templates. Full width, desktop, tablet and phone; light or dark; live reload on every save; Inspect opens the template an element comes from.
- Compare with the overridden template, with the commits of the base since the override was made.
- An image and font viewer that lists the templates and stylesheets that use the file.
- The token panel: the color tokens of a design stylesheet with their light and dark values and their contrast; a changed color becomes a draft.
Source control and changes across files
- Source Control for the installation and every extension that is a git clone of its own: changes, a commit with a house prefix, blame after every line, and a timeline of commits, backups and publishes. Nothing is ever pushed from here.
- Search across the designs, settings and extensions, with case, whole word, regular expressions and file patterns. Replace all writes nothing: it makes a draft of each file, grouped in a changeset.
Working together
- Soft locks show who else is editing a file; they never block anybody.
- An outdated draft is merged line by line with the file as it is now; a conflict blocks the publish until it is resolved.
- Co-editing over a WebSocket: what one types appears for the others, with their cursors and names. Each user still publishes their own draft.
- Pull requests, issues, comments and reviews on GitHub, GitLab (merge requests) and Gitea or Forgejo. A published changeset can be proposed as a pull request; pushing is off by default.
- code-server, the full editor of Visual Studio Code's open-source core, behind a single sign-on proxy, for administrators who want it.
- Other extensions add commands, languages, snippets and panels through window.ExpCode.register().
Every view in detail: the Exponential Code manual.