Contexts and the sidebar
Your contexts as contexts: switching, the file tree, notes, pins, extra roots and per-context settings.
A context is a folder that Cortex lists in its sidebar. Everything you do in Cortex belongs to a context: its files, its sessions, its tabs, its note. These articles explain what a context is, how to move between them, and how to arrange each one with colours, pins, a note, extra folders and its own settings.
To tell Cortex where your contexts are in the first place, see Add your contexts.
- What a context isA folder in your list: what belongs to it and what Cortex never writes into it.
- Add, remove and organise contextsThe Manage Contexts sheet, Remove with keep or Trash, Rename Folder, Locate, and Add to Contexts.
- Switch between contextsFilter, arrow keys, ⌘⇧P, the busy toggles, the order and the row menu.
- Pins and coloursColour a context so its tabs carry it, pin contexts, files and sessions and filter to them.
- The file treeThe context's files and extra roots, Recent, Filter files, hidden entries, change dots, drag and drop, creating, renaming and trashing.
- Context notes and memoryThe sticky note backed by NOTES.md and the agent's memory row.
- Extra rootsLet a context's sessions work in a second folder, from a .code-workspace file or a setting.
- Context SettingsEvery per-context setting in one sheet, and where each is explained.