Docs
Everything needed to install CLIDE, open a project and read it.
Install
CLIDE is a desktop app for macOS, Windows and Linux. Download the installer for your system:
- macOS: open the downloaded file and drag CLIDE into Applications.
- Windows: run the downloaded installer.
- Linux: install the
.debon Debian or Ubuntu. Elsewhere, make the AppImage executable (chmod +x, or its Properties in your file manager) and run it. The first time it runs it adds CLIDE to your applications, so from then on you can find it by searching for it like any other app. Keep the file where it is; if you move it, run it once from its new place.
When a newer version is out, CLIDE says so in its status bar. Click the notice to come back here, then download and install the newer version over the old one. Your settings and your projects' accounts are kept.
Open a project
Open CLIDE and choose your project's folder, or drop the folder onto the window. Projects you have opened before are listed there too. From then on CLIDE starts with the project you had open last.
It reads the project from disk, leaves out what .gitignore excludes, and notices changes made by other tools as they are saved.
Move between projects
Click the project's name at the top of the window, or press Ctrl+Shift+O, to see the Projects screen: every project you have opened, the latest first. Choose one and it opens in the same window, in place of the one you were in. Type to narrow the list. The arrow keys and Enter choose, and Esc goes back.
- A project that isn't listed: press Open a folder…, drop its folder on the screen, or paste the folder's path into the box. File → Open Folder (Ctrl+O) does the same from anywhere.
- Two projects side by side: Ctrl+click a project to open it in a window of its own, or use File → New Window. A project is open in one window at a time; choosing one that is open elsewhere brings its window forward.
- Tidying the list: the × on a line takes that project off the list. Nothing in its folder is touched, and opening it again puts it back.
Each project keeps its own open files, so coming back to one finds it as you left it. Unsaved code doesn't come along: CLIDE asks before leaving it behind. Leaving a project also stops any explaining still under way in it.
Choose a plan
The outline, "Used in", search and writing by hand need no plan. To have accounts written for you, open Settings (Ctrl+,, or click the status bar) and choose a plan. The checkout opens in your browser, and when the payment goes through CLIDE signs in by itself. There is nothing to copy.
Settings then shows which plan you are on and how much of the month's usage you have used, as a percentage. The status bar shows the same at a glance. Your month runs from the day you subscribed: usage starts again each time your plan renews, on the date Settings shows. Manage subscription opens the page where you change your card or cancel.
If you need more in a busy month, Settings also offers a usage pack: $10 once, for as much usage as a month of Solo. Choose Add a pack and pay in your browser; the pack shows in Settings a few seconds later. It is used only after your plan's usage for the month, and what is left carries over to the next month.
If you subscribed on this website instead, the page you landed on after paying shows a license key. Paste it into Settings under Already subscribed?. Bookmark that page: opening it again shows the same key, which is also how to sign in on a second computer.
Have files explained
- One file: open it and press Explain this file.
- The whole project: open the Atlas and press Explain N files. Files are sent a few at a time, and an overview of the project is written at the end.
- After code changes: press Update on a file. Passages whose code is unchanged are kept as they are.
- Start over: Rewrite has the model write the file's account again. Passages you edited by hand are still kept.
Each explanation uses some of your plan's monthly usage, roughly in proportion to the length of the file.
Reading an account
- Views: Code, Prose, or Split. In Prose, pointing at a sentence shows its lines beside it. In Split, the two sides follow each other.
- Marks in the file list: a filled dot means the account matches the code, a half dot means the code has changed since, a hollow dot means there is no account yet.
- Code changed: the lines under this passage were edited after it was written. Read it with care, or update it.
- No account yet: code that nothing describes. Often something an agent just added.
- Double-check: something concrete worth looking at yourself.
- Verify: mark a passage once you have checked it against the code. The mark clears by itself if the code changes.
- Used in: where the function, class or method is referenced. This is found by analysing the code, not by the model. It matches by name, so it can miss dynamic calls.
Editing
Code is edited in the Code or Split view and saved with Ctrl+S.
Prose is edited where it stands: click into a title, a passage, a step or a note and type. Leaving the text saves it, Enter saves too, Shift+Enter starts a new line, and Esc puts back what was there. Put identifiers in `backticks`. Clearing a step removes it. Passages you write are marked Edited by hand and are not overwritten while their code is unchanged.
Search
Press Ctrl+K. Search by a name, or ask in plain words. Results come from names, accounts and code, on your machine. Under a result, Used by opens the list of everything a change to it could reach, nearest first.
Shortcuts
| Alt+1 / 2 / 3 | Code / Prose / Split |
| Ctrl+K | Search |
| Ctrl+S | Save code |
| Ctrl+B | Show or hide the file list |
| Ctrl+Shift+O | Projects: move to another project |
| Ctrl+O | Open a folder |
| Ctrl+, | Settings |
| Ctrl+Enter in a passage | Save and jump to its code |
On macOS, use Cmd in place of Ctrl.
What is stored where
- In your project: a
.clide/folder holding one JSON file per explained source file, plus the project overview. Commit it so the accounts travel with the code. - On your computer: your license key and the list of projects you have opened, in your user settings folder (
~/.config/clideon Linux,~/Library/Application Support/clideon macOS,%APPDATA%\clideon Windows). The list holds the folders' paths and nothing from inside them. - Nowhere else. See privacy for what is sent when a file is explained.
Limits
- Files over 3,000 lines are not explained.
- Parsed languages: TypeScript, JavaScript, Python, Go, Rust, Java, C, C++, C#, Ruby, PHP and shell. Other languages are explained without an outline.
- Renaming a function drops its passage; it is treated as new code.
- CLIDE is an editor with save, find and highlighting. It has no terminal, language server or git view.
Troubleshooting
- macOS or Windows warns about the app the first time: on Windows choose More info, then Run anyway. On macOS open System Settings, then Privacy & Security, and choose Open Anyway.
- The app didn't sign in after paying: the page you landed on shows your license key. Paste it into Settings under Already subscribed?.
- "That license key isn't recognised": check for a missing character. If your subscription ended, the key stops working.
- "You've used all of this month's usage": writing resumes on the date shown, or straight away if you add a usage pack in Settings. Everything else keeps working, and you can still write passages yourself.
- A usage pack you paid for doesn't show: reload the page you landed on after paying, then open Settings again. If it still isn't there, write to us with the email address you paid with.
- Anything else: write to apolog1ze.dev@gmail.com.