Folders, repos and workspaces
Everything in the Folders, VS Code Workspaces and Git Repositories sections comes from the folders you add to Sugu.
Adding and removing folders
Section titled “Adding and removing folders”- Add → Folder to Menu… adds one or more folders. Sugu asks for the first one when you open it for the first time.
- Settings, then the folder’s name, then Remove from Menu takes it out again. Nothing on disk changes.
How repositories and workspaces are found
Section titled “How repositories and workspaces are found”Sugu looks through each added folder, three levels deep, for:
- git repositories: folders with a
.gitinside, listed under Git Repositories; .code-workspacefiles, listed under VS Code Workspaces.
Hidden folders, app bundles and folders that are usually huge and never interesting are skipped: node_modules, build, dist, DerivedData, Pods, vendor, target, venv, .venv, __pycache__ and .build. A repository inside another one, such as a submodule, isn’t listed separately. The lists refresh every time you open the menu.
So adding ~/Code finds ~/Code/sugu, ~/Code/clients/platform-api and ~/Code/clients/old/site, but not a repository four folders down. Add a deeper folder if you need one.
A workspace shows the git status of the first of its folders that is a git repository.
Inline or submenu
Section titled “Inline or submenu”An added folder is a submenu at first, under a Folders header. To list its contents right in the main menu instead, under the folder’s name, choose Settings → the folder → Show Contents in Main Menu. This suits a small folder you open things from all the time, such as an Inbox or Current folder.
Per-folder settings
Section titled “Per-folder settings”Settings → the folder’s name:
| Setting | What it does |
|---|---|
| Show Contents in Main Menu | Inline instead of a submenu (see above) |
| Sort By | Name, Date Modified, Date Created, Size or Kind, Ascending or Descending |
| Folders First | Folders above files (on at first) |
| Show Hidden Files | Files and folders whose names start with a dot |
| Hide When Empty | Leaves the folder out of the menu while it has nothing in it |
| Item Limit | At most 25, 50, 100, 300 or 1000 items per folder (300 at first) |
| Editor | The editor for everything in this folder, or the default |
| Show in Finder, Remove from Menu |
The settings apply to the folder and every folder inside it.
Editors
Section titled “Editors”Sugu works with VS Code, VS Code Insiders, VSCodium, Cursor, Windsurf, Zed, Sublime Text, Nova and Xcode, and lists the ones you have installed. Choose the one for everything in Settings → Default Editor, and a different one for a folder in its Editor setting: for example Xcode for your app projects and VS Code for the rest.
Editors that can’t open .code-workspace files (Zed, Sublime Text, Nova, Xcode) get the workspace’s first folder instead.
Save as Workspace
Section titled “Save as Workspace”On any folder or repository, hold ⌥ and choose Save as Workspace…. Sugu writes <folder name>.code-workspace, with that folder in it, to your Workspaces Folder, and offers to open it.
The first time, Sugu asks where your Workspaces Folder is, and adds it to the menu if none of your folders contain it. Change it in Settings → Workspaces Folder. If a workspace with that name already exists, Sugu offers to open it rather than overwrite it.