Code editor
The code editor (CodeMirror 5) edits the same documents as the visual editor — one undo history, one autosave.
- Syntax highlighting for HTML, CSS, JavaScript and JSON, with template directives and placeholders highlighted in index.html.
- Autocomplete: tags and attributes, plus the application's routes for
data-nav/data-section, engine actions fordata-action, engine ids,data-sf-*hooks, and placeholders after{. - Error markers from the validator in the gutter, updated as you type (unsaved text is validated too).
- Format (Prettier) for HTML, CSS, JavaScript and JSON.
- Find, replace, go to line, fold, toggle comment, bracket and tag matching.
- Find usages (F12 or Ctrl-click) of the class or id under the cursor across index.html, styles and script.
- File explorer with new/rename/delete, tabs, quick open (Ctrl/⌘ P).
Keyboard shortcuts
See the full list.
Console and Problems
The Console shows JavaScript errors, console errors and warnings, failed images/styles/scripts and CSP violations from the preview, and the application's server log. Entries that point at your files open them at the line. Problems lists the validator's findings by file; click to jump.