The Window

This chapter describes each part of a project window: the navigator, the project strip, the tabs, the split panes and the status bar.

The navigator is the column on the left of the window. It shows the project’s folder as a tree.

The header

The top of the navigator shows the project’s name.

  • The icon before the name (Project Options) opens the project menu. You can also right-click the project name for the same menu. When the folder is not a git repository, the menu has Initialize Git Repository and Create Project. In a git repository, it has Open Repository Manager and Create Project. When Aember finds a build system, the menu also has build commands. See Builds and Tests.
  • When the folder is a git repository, the icon is the git icon, and the header shows the current branch after the word on. Click the branch icon (Manage Branches) to manage branches, or choose another branch from the branch menu (Current Branch) to switch to it.
  • A second row has four buttons: Pull Commits, Stage Modified Files, Commit Staged Files and Push Commits. With files or folders selected, the stage button stages only their changes. See Git.

The tree

Click the triangle next to a folder to expand it, or double-click the folder. Click a file to look at it in the preview tab; the next file you click replaces it there. Double-click a file to open it in a tab of its own. With the tree active, Space or Return shows the selected file in the preview tab; the arrow keys only select. See The preview tab. Aember remembers which folders are expanded and which file is selected.

When you switch to another tab, the tree selects that tab’s file, if the file’s folder is expanded.

Each file shows its state:

  • A filled document icon means the file has unsaved changes.
  • An orange warning triangle means the file changed on disk.
  • In a git repository, a small badge on the icon shows the git status. Untracked files have slanted names, and ignored files are dimmed. Hold the pointer over a file to see its git status.

Above the files, the navigator shows special folders, such as Outline, Groups and Bookmarks. See The Navigator’s Special Folders.

A git submodule appears with a package icon. Double-click it to open it as a project in its own window.

Right-click in the navigator to work with files. The menu is for the row you right-click. If that row is selected, the menu is for all selected rows, as in Finder.

Create a file or folder

Right-click a folder, or an empty area for the project’s top folder, and choose New…. Then choose New Text Document, New Markdown Document, New Binary Document or Folder, and enter a name.

Other commands for files

  • Reload from disk reads the file from disk again.
  • Show History opens the file’s History pane, when History has recorded the file.
  • Add as Template makes a template from the file. See Customizing.
  • Rename lets you edit the name in place.
  • Delete moves the selected items to the Trash. Aember never deletes the .aember folder.

In a git repository, the menu also has git commands, such as Stage Changes, Unstage Changes, View Diff and Restore from Repository…. See Git.

Move and copy files

Drag files within the tree to move them into another folder. Hold the pointer over a closed folder to open it while you drag. Drag files from Finder into the tree to copy or move them into the project.

The rules are the same as in Finder: hold Option to copy, hold Command to move. Without a key, a drag moves files on the same disk and copies them to another disk. Dragging files from the tree to Finder copies them.

Undo

Creating, renaming, moving, copying and deleting files in the navigator can be undone. With the navigator active, choose Edit > Undo. Items moved to the Trash come back from the Trash.

Above the project’s files, the navigator shows special folders. They are not folders on disk. Most of them appear only when they have something to show. They appear in this order.

FolderWhat it lists
UnsavedEvery file with unsaved changes, open or closed.
Staged FilesFiles staged in git.
Deleted FilesFiles deleted from the git working tree.
StashesThe repository’s stashes, newest first.
Unpushed CommitsCommits that are not pushed yet, newest first.
Recently DeletedFiles History recorded that are gone from disk.
OutlineThe symbols of the file in the active editor.
NotesWhat Cogitae remembers about the file in the active editor. See Cogitae’s Notes on the Project.
PackagesThe project’s dependencies, for a Swift package, a Rust crate or a JavaScript package (npm, pnpm or Yarn). See See a Project’s Packages.
GroupsSaved sets of open files and their layout, with the edit groups made from commits in Commits.
BookmarksBookmarked places in files.

History folders

In Unsaved, a closed file is marked as closed. Right-click a file for Save, Revert and Show History, or the folder for Save All and Revert All.

In Recently Deleted, double-click a file to see it in a History pane. Right-click it and choose Restore to bring it back as an unsaved file. See History.

Git folders

  • In Staged Files, right-click a file and choose Unstage File.
  • In Deleted Files, right-click a file and choose Restore File.
  • In Stashes, double-click a stash, or right-click it and choose Apply Stash…, to apply it and remove it from the list. To delete it without applying it, choose Delete Stash… or swipe left on it. Aember asks first either way.
  • In Unpushed Commits, double-click a commit, or right-click it and choose Show in Git History, to see it in Git History. Choose Preview to see its changes as diff tabs. See Preview a Commit.

See Git for more about these folders.

Use the Outline, Groups and Bookmarks

Outline

Outline lists the symbols in the file of the active editor, such as types, functions and properties. Expand a type to see its members. Local variables and the other things declared inside a function are left out. The list comes from the file’s language server, or from its syntax when there is no language server. It updates when you switch editors or save the file. Click a symbol to go to it. When the language server can rename symbols, right-click a symbol and choose Rename Symbol…. See Code Intelligence.

Groups

A group saves the files you have open and the layout of the edit panel, so you can come back to them later.

  1. Open the files you want and arrange the panes.
  2. Choose File > Create Group from Current Layout, or right-click Groups and choose Create Group from Current Layout.
  3. Enter a name, then click Create.

To load a group, double-click it, or right-click it and choose Load Group. The group’s files replace the open files, and the panes return to the saved layout. A file that is missing from disk stays in the group but does not open. Right-click a group for Rename Group and Delete Group.

An edit group holds the files of one commit, as they are now. You make one from a commit you preview, with Create Edit Group from Commit. Edit groups are in the Commits folder inside Groups. You cannot rename, delete or drag that folder, and it appears only when it holds a group. An edit group works like any other group. Right-click it for Preview Commit, to see the commit again, and Move to Groups, to make it an ordinary group. Dragging it onto Groups does the same. See Preview a Commit.

Bookmarks

Bookmarks lists the places you bookmarked. To add one, right-click in an editor and choose Add Bookmark. See Editing.

Double-click a bookmark to open its file at the bookmarked line, or right-click it and choose Go to Bookmark. Choose Delete Bookmark to remove it.

See a Project’s Packages

When the project folder has a Package.swift, a Cargo.toml or a package.json, the navigator shows Packages. It lists the packages the project depends on, with the version each one resolved to and the version rule the manifest gives it, such as from: 1.1.0 or ^1.2. A project with more than one of these files gets a folder for each package manager inside Packages.

A package.json belongs to npm, pnpm or Yarn. Aember goes by the packageManager field in package.json when it has one, such as "pnpm@9.15.0". Otherwise a pnpm-lock.yaml beside it means pnpm, a yarn.lock means Yarn, and anything else means npm. Aember works with Yarn 1 and with Yarn 2 and later.

Aember asks each package manager’s own tool, and reads the files it keeps, such as Package.resolved, Cargo.lock, package-lock.json, pnpm-lock.yaml and yarn.lock. Nothing is downloaded or resolved when you open a project. Until the package manager has resolved the dependencies, Packages says Not resolved yet. When the tool is not installed, Packages says so, and its tooltip says what to install.

Packages has two views. Click the button at the right end of the Packages row, which shows when you hold the pointer over the row, or right-click Packages and choose Show Dependency Tree, to switch between them. The button stays shown while the tree is on. Aember keeps the choice for the project.

  • The flat list shows every package once. The packages the manifest names come first. The packages only other packages need come after them, dimmed, or in an Indirect folder when there are many. Hold the pointer over a dimmed package to see what needs it. Expand a package to see its files, and click a file to open it. A package installed by Yarn’s Plug’n’Play has no files to show, as Yarn keeps them in zip archives.
  • The dependency tree shows the packages the manifest names. Expand one to see the packages it depends on, and so on. A package that several packages need appears under each of them.

A package’s files open read-only, since the package manager replaces them when it resolves again. The files of a package in a folder of your own, such as ../mylib, stay editable.

Click a package the manifest names to open the manifest at its line. A small test tube marks a dependency used only for development and tests, and a hammer one used only by build scripts.

Right-click a package for these commands:

CommandWhat it does
Show in ManifestOpens the manifest at the package’s line.
Reveal SourceShows the package’s files in the flat list.
Required ByLists what needs the package. Choose one to select it.
Open RepositoryOpens the package’s git repository in your browser.
Copy NameCopies the package’s name.

To open the manifest, right-click Packages and choose Show Manifest. When the project has several manifests, right-click a package manager’s folder instead.

A workspace keeps several packages of your own in one project, each in its own folder with its own manifest, and they share the root’s lockfile: a Cargo workspace’s members, the packages listed under workspaces in package.json for npm and Yarn, or in pnpm-workspace.yaml for pnpm. Packages shows a folder for each member after the root’s packages, with the member’s folder beside its name. Expand it to see the packages the member’s manifest names, and click one to open the member’s manifest at its line.

While the window is parked at a moment, Packages shows the packages as they were then, from the manifest and lockfile History recorded. A package at the same version as now shows its files. A package at another version says so, such as “1.4.0 then, 1.5.0 now”, and has no files to show. You can’t change packages, check them for updates or add one while parked.

Packages reads the manifest and lockfile again when they change on disk, for example after a git pull, a change you make in the terminal, or saving the manifest.

Change a Project’s Packages

You can resolve, update and remove packages, and change their version rules, from the context menus of Packages. Aember doesn’t change the manifest itself: each package manager’s own tool does the work, such as swift package, cargo, npm, pnpm or yarn.

Right-click Packages for these commands. When the project has several manifests, right-click a package manager’s folder instead.

CommandWhat it does
Add Package…Finds a package and adds it to the manifest. See Add a Package.
ResolveResolves and downloads the packages the manifest asks for, and writes the lockfile.
Update AllUpdates every package to the newest version its rule allows.

Right-click a package the manifest names for these commands:

CommandWhat it does
UpdateUpdates the package to the newest version its rule allows. A package that is not resolved yet offers Resolve instead.
Edit Version Rule…Asks for the versions the package may resolve to. For a Swift package, choose the kind of rule, such as Up to Next Major Version or Branch, and type the version, branch or commit. Type a range as 1.0.0..<2.0.0. For Cargo, npm, pnpm and Yarn, type the requirement as the manifest writes it, such as ^1.2. A package with a path has no rule to change.
Remove…Takes the package out of the manifest, after you confirm.

A change runs like a build, and shows in the status bar and the build log. A project runs one build, test or package change at a time, so these commands are off while one runs. When the change ends, the status bar shows how it went, and the build log shows what the package manager printed. When Packages shows an error after a change failed, click the error to open the build log. See Read the Build Log.

The package manager changes the files on disk. If the manifest or the lockfile has unsaved changes, Aember asks you to save them first. Click Save and Continue to go ahead.

Everything a change does to the manifest and the lockfile is one operation in History. To take a change back, choose Undo This Change… on its moment, then save the files and resolve. The moment is named for the change, such as “Remove swift-nio”. See Undo an Agent’s Changes.

Removing a Swift package

Swift Package Manager has no command to remove a package, so Aember removes it from Package.swift itself. It takes out the package’s line in the dependencies, and the targets’ uses of its products, then resolves. Afterwards it checks the manifest with Swift Package Manager. If the package was not written in a way Aember can edit, for example when the manifest builds the list in code, nothing changes: the manifest opens at the package’s line, so you can remove it by hand. To change a Swift package’s version rule, Aember takes out its line the same way and adds it again with the new rule.

Workspace members

Right-click a member’s folder and choose Add Package… to add a package to that member, or Show Manifest to open its manifest. Edit Version Rule… and Remove… on a member’s package change the member’s manifest. Resolve, Update and Update All work on the whole workspace, since its members share one lockfile. For Yarn, a member’s package.json must have a name.

A Cargo workspace without a package of its own has no dependencies of its own: add packages to its members instead.

Changes by agents

An agent connected to Aember can list the packages, check them for updates, and make the same changes with its tools. Its changes run like yours and show in the build log, and History records them as the agent’s, as one operation you can undo. Aember refuses an agent’s change while the manifest or the lockfile has unsaved changes, and doesn’t save them for it. In a workspace, the agent names the member whose manifest it changes. See What Agents Can Do.

Add a Package

To add a package, right-click Packages and choose Add Package…. When the project has several manifests, choose the package manager from the popup at the top of the panel, or right-click that package manager’s folder instead.

Type in the search field to search the package manager’s registry: crates.io for Cargo, the npm registry for npm, pnpm and Yarn, and the Swift Package Index for Swift. The results show each package’s description and newest version. Choose one to list its versions in the version box; Aember puts the newest release there for you. Aember searches only while the panel is open.

  • For Cargo, npm, pnpm and Yarn, you can also type a package’s name and add it without searching, or type a folder’s path, such as ../mylib.
  • For Swift, the popup beside the search field chooses where the package comes from: Search, Git URL, Folder, or Registry Identity when Swift Package Manager is set up with a package registry. Pasting a URL or a path into the search field switches the popup for you. For a git URL the Swift Package Index doesn’t list, the versions are the repository’s tags.

Below the results:

ControlWhat it does
Version:The version rule and the version. For Swift, choose the kind of rule, such as Up to Next Major Version, Branch or Commit, and type a range as 1.0.0..<2.0.0. For Cargo, npm, pnpm and Yarn, choose Compatible (^), Up to Next Minor (~) or Exact Version (=); leave the version empty for the newest.
Kind:For Cargo, npm, pnpm and Yarn: whether the package is a normal dependency, only for development and tests, only for build scripts (Cargo), or optional.
Add to:For Swift: the targets that use one of the package’s products. None is ticked at first, which only adds the package to the dependencies.
Product:For Swift: the product the ticked targets use. Aember suggests the one named like the package, when the Swift Package Index lists its products.

Click Add Package to run the package manager, such as cargo add, npm install, pnpm add, yarn add or swift package add-dependency. The change runs like the other package changes: it shows in the status bar and the build log, and History can undo it. See Change a Project’s Packages.

The Swift Package Index has no search service, so Aember downloads its list of packages at most once a day and searches it on your Mac. The panel shows the date of the list it searched. When the list can’t be downloaded, Aember searches the last copy and says so. Descriptions, versions and products come from the index once you choose a package.

A Swift package from a package registry shows the registry’s host name next to its version in Packages.

Check Packages for Updates

To find newer versions of a project’s packages, and known security problems in them, right-click Packages and choose Check for Updates. When the project has several manifests, right-click a package manager’s folder to check only its packages. The check asks the package registries over the network, so Aember runs it only when you ask, or once a day when Check for package updates daily is on in Build Settings. See Build Settings.

While the check runs, Packages says checking…. When it ends, the status bar and Packages say how many packages have newer versions and how many advisories were found. Hold the pointer over Packages to see what couldn’t be checked.

  • An arrow marks a package with a newer version. Its tooltip gives the newest version, and the newest one its version rule allows when that is older.
  • A red shield marks a package with known vulnerabilities. Its tooltip lists them. Right-click the package and choose one from Advisories to open its page.

Right-click a package the manifest names to update it. Update takes the newest version its rule allows. When a newer version is outside the rule, the menu also offers to update to that version, which changes the rule to take it: an exact version stays exact, and other rules become from: or ^ that version. The change runs like the other package changes, and History can undo it. See Change a Project’s Packages.

Each package manager checks in its own way:

Package managerNewer versionsAdvisories
SwiftThe tags of each package’s git repository, or a registry package’s releasesNone
Cargocargo update --dry-runcargo audit, when cargo-audit is installed
npmThe npm registry, or the one .npmrc names, for each package the manifest namesnpm audit
pnpmThe same as npmpnpm audit
YarnThe same as npmyarn audit, or yarn npm audit for Yarn 2 and later

The marks stay until the package’s version changes, so a package you update loses its mark.

The Project Strip

The project strip is a narrow bar along the left edge of the navigator. It shows every moment in the project’s History, for all files together. The newest moment is at the top, and the top mark is now. Named moments show as stars.

The project strip needs a license or a trial. Without one, or when History has nothing for the project, it is hidden. See Free Mode, Trial and License.

  • Hold the pointer over a mark to see its time, file, what happened and who made the change.
  • Click or drag on the strip to park the window at a moment. The whole window then shows the project as it was at that moment, and it stays there when you let go.
  • With the strip active, the arrow keys move one moment at a time.
  • Right-click a mark to name the moment, rename it, or take its name away. The menu also offers to undo changes from that moment.
  • Commits of the current branch show as small rings, each just above the moment it followed. Hold the pointer over a ring to see the commit’s subject, short hash, author and time. Click a ring to preview the commit. When several commits share a ring, the click shows a menu of them. Right-click a ring for the commit’s other actions. See Preview a Commit.

While the window is parked

A banner above the editors names the moment and says that the editors are read-only. In the navigator, files that were deleted since then come back in slanted type, and files that did not exist yet are dimmed. The git folders are dimmed too.

To return to now, click the top mark of the strip, click the button in the banner (Return to Now (Esc)), or press Escape.

For everything you can do with a parked window, see History and Restore an Earlier Version.

Tabs

The tab bar is in the title bar of the window. It has one tab for each open file, and tabs for other views, such as History panes, the History timeline, diffs, git history and the build log.

Use a tab

  • Click a tab to show its file in the active pane. If the active pane already shows the file, Aember only makes that pane active. The active tab is brighter than the others.
  • Drag a tab along the bar to change the order of the tabs.
  • Drag files from the navigator or from Finder onto the tab bar to open them at that place.

The parts of a file tab

  • The icon on the left shows the file’s state. A filled icon means unsaved changes: click it to save the file. An orange warning triangle means the file changed on disk.
  • The name: double-click it to rename the file on disk. Press Return to accept the new name, or Escape to cancel. For tabs that are not files, the new name changes only the tab.
  • The close button on the right (Close) closes the file in every pane that shows it. Those panes then show another open file, if there is one.

Closing a tab with unsaved changes does not ask you to save, because History keeps the changes. The status bar counts them, and the Unsaved folder lists them. Aember asks only about changes that History is not keeping.

The tab menu

Right-click a file tab for these commands:

  • Reload from disk reads the file from disk again. It is available when the file changed on disk or has unsaved changes.
  • Show History opens the file’s History pane. It appears when History has recorded the file.
  • Add as Template makes a template from the file.

The preview tab

A file you click once in the navigator opens in the preview tab, whose name is in italics. Find results and Edit > Go to Definition open files there too. The next file shown this way replaces the file in the preview tab, in the same place on the tab bar, so looking through files does not fill the bar with tabs. A file that already has a tab of its own shows in that tab instead.

The preview tab becomes an ordinary tab when you double-click its file in the navigator or the tab itself, change the file, drag the tab to another place on the bar, or split the pane that shows it.

The preview tab comes back as one when you reopen the project. To open files in ordinary tabs only, turn off Open Files in a Preview Tab in Editor settings. A click in the navigator then only selects a file.

Split the Editor

The edit panel can show several panes, side by side or one above the other. Each pane shows one editor. Two panes can show the same file.

Panes that show the same file share its changes. Edit > Undo and Edit > Redo step through them in order in either pane, whichever pane you made them in, and the cursor moves in the pane you undo in.

Split a pane

The edit panel has two thin handles: one along its top edge, and one along its right edge.

  1. Drag the handle on the right edge to the left to split panes side by side. Drag the handle on the top edge down to split panes one above the other.
  2. A line follows the pointer. It is green where a split is possible and red where a pane would be too small.
  3. Let go. Every pane the line crosses splits in two, and both halves show the same file.

To open a History pane instead of a second editor, hold Option when you let go. The line turns indigo while you hold Option. The History pane opens to the right of the editor, or below it, at the most recent change. Panes whose file History has not recorded do not split. See History.

Resize and close panes

Drag the divider between two panes to resize them. Each pane is at least 100 points wide or tall.

To close a pane, drag the divider almost to the edge of that pane. When the divider turns red, let go. The pane closes, and the other pane takes its space.

Aember remembers the layout of the panes with the project. To save a layout and come back to it later, use a group. See Use the Outline, Groups and Bookmarks.

The Status Bar

The status bar runs along the bottom of the window. From left to right, it shows these items.

Activity

A colored dot and a short text show what Aember is doing.

DotTextMeaning
GreenReadyAember is idle.
Blue, pulsingA descriptionAember is working.
Red, pulsingErrorSomething went wrong.

Background work that needs nothing from you, such as indexing the code graph when a project opens, shows here only while it runs. It leaves no message and doesn’t add to the badge.

Messages

When something happens, such as a save, a git command or an error, the message appears in the status bar for a few seconds. Every message is also kept in the notification feed. See Read Notifications.

Builds and tests

While the project builds or runs tests, a hammer shows the run and its elapsed time, with a stop button next to it. Click the run (Show the build log) to open the build log. Click the stop button (Stop the build or test run) to stop it. When the run ends, its result stays for a few seconds. See Builds and Tests.

Unsaved files

When files have unsaved changes, a count shows how many (Files with unsaved changes). The count includes files whose tabs are closed. Click it to see the list. Closed files come first and are marked as closed.

  • Choose a file to open it.
  • Hold Option to turn each file into a command that reverts that file.
  • Choose Save All to save every file, or Revert All to discard every unsaved change.

Unread messages

A red badge at the right end counts the messages you have not seen yet. It shows 99+ above 99.

Read Notifications

The notification feed keeps the messages that appeared in the status bar, so you can read them later.

To open the feed, click the status bar. The Notifications window opens, and the badge in the status bar disappears, because all messages are now read. Click the status bar again to close the window.

Each message has an icon for its kind, the time, and the text.

Icon colorKind
GreenSuccess
GrayInformation
OrangeWarning
RedError

Some messages have details, such as the full text of an error. Click such a message to show its details, and click it again to hide them.

To empty the feed, click the button at the top (Clear all notifications). This also sets the activity in the status bar back to Ready. When the feed is empty, it shows No notifications.

The feed keeps the 100 most recent messages. Each window has its own feed.

Last updated November 22, 2026