Folders
This guide is also in the app, under Help › Guide. The dotted names are buttons, panels and options there: in the app, clicking one lights up its place in the window. That only works in the app.
Right-click a folder's name, or any block, to open . takes everything else off the canvas.
Closing and opening folders
- R , and E .
- Shift+R , and Shift+E .
With the pointer over a folder, these keys act only inside that folder. Anywhere else, they act on everything.
When a folder is closed, the edges between its files and the rest of the code connect to the side of the folder. Edges between the same two blocks merge into one. The more dependencies it stands for, the thicker it is. So you see how folders depend on each other.
The panel has these as buttons. It also has , which cuts long files short, so the canvas stays more compact. To see all of a collapsed file, click the row at its bottom that says how many lines are hidden. While files are collapsed, a notice at the bottom right of the canvas says how many.
Collapsing only changes what the canvas shows. Dependencies and language servers still read every line of the file.
Grouping files by namespace
C#, Java, Kotlin, PHP and C++ files declare namespaces or packages, which don't always match their folders. In a repository in one of these languages, you can group the files by namespace instead of by folder.
Select the repository. In its panel, set to Namespaces. Each file that declares a namespace moves out of its folder into a group for that namespace. Namespace groups are purple. Each one sits in the deepest folder that holds all of its files.
Files that declare no namespace stay in their folders. A folder left with nothing in it is no longer shown. The layout and the edges follow the namespaces, and you close and open them as you do folders. Point at Namespaces to read this again.
Selecting
- Click a to select it, or click its .
- Cmd+click .
- Shift+click .
- Shift+drag .
- Esc .
From each branch's end; Shift+R all of them. Over a folder (or given one), inside it only.
In the app:
As R does, the other way: the topmost closed folders open.
In the app:
Every folder of the roots laid out by their dependencies closes into a block.
In the app:
Every closed folder opens again.
In the app:
The folder selected (or given) closes into a block, or opens. A click on a folder's name does it too.
In the app:
Folders glide open and shut, their edges following; off, they change at once.
In the app:
In the app:
In the app:
What lies between the block clicked before and this one
In the app:
In the app:
In the app:
In the app:
Everything a block can do: see it as code, its dependencies, open it, rename it
In the app:
In the app:
Nothing selected; Esc first closes a menu that is open.
In the app:
Selects these blocks, as clicking them would, and returns what was found.
In the app:
Every block in the folder selected (or given).
In the app:
Renames what is selected, on the disk; several at once get one name, numbered.
In the app:
Files and folders selected, to paste into another folder.
In the app:
Files and folders selected, to move: they fade until pasted.
In the app:
Into the folder selected, or the one holding the file selected.
In the app:
The selected block's full path, to the clipboard.
In the app:
Its path inside the repository holding it, or else inside the folder on the canvas holding it.
In the app:
The file selected in the app that opens it; a folder in the file manager.
In the app:
A terminal in the folder selected, or the one holding the file.
In the app:
The block selected, in Finder (or the system's file manager).
In the app:
What is selected, to the Bin, after asking.
In the app:
Everything in the Bin selected, deleted for good, after asking.
In the app: