Skip to content

Saved layout

The editor remembers how you arrange your workspace and restores it the next time you launch, so you don't have to set everything up again each session.

What is remembered

  • Window position and size — including whether the window was maximized or full-screen.
  • Dock panels — where each panel is docked (left / right / top / bottom, or floating), its size, and whether it was open. This covers panels such as the Workspace tree, Find Results, Document Statistics, and the AI Chat panel.

The layout is saved when you close the editor normally and restored on the next launch. On a first run — or after clearing the editor's settings — the window opens at a sensible default size.

Panels that keep a share of the window

Most panels keep a pixel size: a workspace tree or a results list is as useful at one width whatever the window does, so resizing or maximising the window leaves it exactly as wide as it was. That is how the Workspace tree, Function List, Find Results and the AI Chat panel behave.

The preview-type panels — Markdown Preview, HTML Preview and Folder Compare — keep a share of the window instead, because what they show is a page or a table that wants as much room as the window can spare:

  • They open at about 40 % of the window and grow and shrink with it, so maximising the window widens the panel and restoring it narrows the panel back down.
  • Drag the panel's edge to set your own share. From then on that is the share the panel keeps, and the 40 % default never applies to it again.
  • Your share is remembered across restarts, with the rest of the layout.
  • A panel never shrinks below what its own contents need. Make the window small enough and the panel stops at that floor while the editor keeps shrinking; widen the window and the panel returns to your share.
  • A floating panel is its own window and keeps its own size; a closed one is sized when you reopen it. Where two of these panels are tabbed together, the one in front sets the share.

Notes

  • Only a clean shutdown saves the layout. If the editor is force-killed, the previously saved layout is kept unchanged.
  • A few panels manage their own visibility and have the final say on whether they open, while their size and docked position are still restored with the rest of the layout:
    • the AI Chat panel only reopens once its CLI agent is confirmed available;
    • the Markdown and HTML preview panels follow their own per-file rules.