Choose a file under Files to open it in a tab. Tabs work like a browser’s: click one to switch, and the cross to close it. Each file keeps its own undo, so Undo only changes the file you are in.
The colors help you read the code. In the Gestalt theme, tags and keywords are in the brand color, names in blue, text in quotes in green, numbers and colors in amber, and notes (comments) are gray.
As you type, suggestions appear for HTML tags, CSS properties and JavaScript. Press Enter or Tab to take one, or keep typing to ignore it. Brackets and quotes close themselves, and a new HTML tag gets its closing tag.
Find in all files (the magnifier at the top of Files, or Shift Ctrl or ⌘ F) finds text in every file of the project and lists each place; click one to go to its line. The arrow beside the box shows Replace: Replace all changes every match, and the check beside a file changes only that file. History keeps how the project was just before, so a replace can be taken back.
Tidy (above the code, or Shift Alt F) puts a file’s indentation, spacing and line breaks in order: HTML, CSS, JavaScript, JSON, Markdown and SVG. It keeps the file’s own quotes and semicolons, and Undo takes it back. If the code isn’t complete yet (a missing bracket or closing tag), Tidy says which line to look at.
Check writing underlines spelling and grammar in the words people read, and never in the code: the text between HTML tags, Markdown files, notes (comments) in CSS and JavaScript, plain text files, and the boxes where you describe a change you propose. A red wavy line is a spelling or grammar mistake; point at it, or tap it on a phone, to see what to change it to. Add to my dictionary keeps a word from being flagged again, and Ignore does the same for one suggestion. It runs on this device and sends nothing anywhere; the first check downloads about 8 MB, once. Turn it off in Settings → Editor → Check writing.
HTML shortcuts save typing in HTML files: type a shortcut and press Tab. ul>li3 makes a list with three items, nav>a.link4 a nav with four links, section>h2+p a heading and a paragraph, and ! a whole new page. > goes inside, + goes next to, * repeats, . adds a class and # an id. A plain word in your text stays as it is. Turn them off in Settings → Editor.
Ctrl or ⌘ F finds and replaces text in the file. Ctrl or ⌘ / turns a line into a note, which the browser ignores, and back again: a safe way to switch something off.
The bar under the code shows where the cursor is (line and column) and what kind of file it is. Settings → Editor changes the code size, wraps long lines, and sets the indent.
To show a file as another code language, click the language at the right of that bar and pick one: HTML, CSS, JavaScript, TypeScript, JSON, Markdown, SVG, XML or Plain text. It changes the colors, suggestions and Tidy, for example for a .txt file that holds CSS. Automatic goes back to the language the file’s ending says. Your choice is kept with the file on every device, and shows in the brand color. The preview still goes by the file’s ending, as a browser does, so to make a page use it as CSS, rename the file (for example to site.css).
Settings → Editor also has code themes and fonts. Gestalt, GitHub, One, Solarized, Tokyo Night, Catppuccin and Gruvbox follow Theme Mode (light or dark); Nord, Dracula and Monokai are always dark. Fonts load the first time you pick one. Ligatures draws pairs like => and !== as one symbol in JetBrains Mono, Fira Code and Geist Mono.