Windows
Editor, external terminal and File Explorer
4 min read
Versora takes care of git; to edit code, you use your editor. Three actions take you from the app to the other tools, always in the right folder:
| Action | Shortcut | What it does |
|---|---|---|
| Open in external editor | Ctrl+Shift+E | Opens the repository (or the file) in the chosen editor. |
| Open terminal here | Alt+T | Opens a terminal outside the app, already in the repository folder. |
| Show in file explorer | Alt+O | Opens File Explorer with the folder (or the file) selected. |
For a terminal inside the app itself, see Integrated terminal.
- Open in external editor (Ctrl+Shift+E) button on the repository toolbar.
- Repository tab menu › Open in external editor.
- Project menu on Home › Open in external editor.
- A file's menu (changes list or a commit's list) › Open in external editor: opens the file, not the folder.
- Palette (Ctrl+P): "Open in external editor".
- Shortcut: Ctrl+Shift+E. It also works with the focus inside the integrated terminal.
- Open Preferences › External tools and choose the External editor (or leave it on Automatic).
- Click Test: open … in the editor to check it.
- In the repository, press Ctrl+Shift+E. The editor opens in the repository folder.
- To open a single file, right-click it in the changes list and choose Open in external editor.
In the menu of a file in the changes, the item is disabled when the file no longer exists on disk (a deleted file).
- Open terminal here (Alt+T) button on the toolbar.
- Repository tab menu › Open terminal here.
- Project menu on Home › Open terminal here.
- Palette (Ctrl+P): "Open terminal here".
- Shortcut: Alt+T.
The external terminal opens already in the repository folder.
- Show in file explorer (Alt+O) button on the toolbar.
- Repository tab menu, project menu on Home and a worktree's menu › Show in file explorer.
- A file's menu › Show in file explorer: opens the file's folder with it selected.
- Palette (Ctrl+P): "Show in file explorer".
- Shortcut: Alt+O.
The tab, Home project and worktree menus also have Copy path, which copies the folder's path ("Path copied" notice). In the palette, the command is "Copy repository path".
- Preferences › External tools.
- Palette (Ctrl+P): "Preferences: external editor and terminal".
- When opening fails, the notice has the Open preferences button.
The External editor ("Used by "Open in external editor" (repository toolbar, tab menu and file menu).") and the External terminal ("Used by "Open terminal here": the terminal opens in the repository folder.") have the same choices:
| Option | What it does | Default |
|---|---|---|
| Automatic | "Uses the first one found — currently: …". With none, "No known tool was found on this computer". | Yes |
| A program from the list | The known programs installed on this machine, with each one's path. | — |
| Custom command | Program and arguments written by you. | — |
The programs Versora recognizes on Windows, in the order Automatic looks for them:
| External editor | External terminal |
|---|---|
| Visual Studio Code | Windows Terminal |
| Visual Studio Code Insiders | PowerShell 7 |
| VSCodium | Windows PowerShell |
| Cursor | Command Prompt |
| Windsurf | Git Bash |
| Zed | |
| Sublime Text | |
| Notepad++ |
A program chosen before and uninstalled later appears as "Chosen before, but not found on this computer".
Write the program and the arguments. Put paths with spaces in quotes.
-
Editor: "%d becomes the repository folder and %f the file; without them, the target is passed as the last argument."
"C:\Ferramentas\Editor\editor.exe" %d -
Terminal: "The terminal already starts in the repository folder; use %d if the program needs it as an argument."
"C:\Ferramentas\Terminal\terminal.exe" --pasta %d
| Placeholder | Becomes |
|---|---|
%d | The repository folder. |
%f | The file (editor only, when you open a file). |
- Test opens the editor (or the terminal) in the active tab's repository: "Test: open … in the editor" and "Test: open a terminal in …". With no repository open: "Open a repository in a tab to test".
- Detect again looks for the installed programs again ("Just installed something? Search again.").
None of these actions runs git or changes the repository. Versora only starts the chosen program, in the repository folder, with the folder or the file as the argument.
There's nothing to undo: the actions only open programs. The choice in Preferences takes effect right away, with no save button. To go back to the default behavior, choose Automatic in Preferences › External tools.
- "Open a repository first.": the actions need an active repository tab.
- "Couldn't open the external editor" and "Couldn't open the external terminal": the notice shows
the reason and the Open preferences button. The most common reasons:
- "No known external editor was found. Choose one in Preferences › External tools." (or "No known external terminal…"): use Custom command;
- "… wasn't found on this computer. Choose another external editor in Preferences › External tools.": the program was uninstalled;
- "Enter the custom command in Preferences › External tools.": the custom command is empty;
- "The custom command has unclosed quotes.";
- "Program not found: …" and ""…" wasn't found in the PATH. Enter the program's full path.": the custom command's program doesn't exist;
- "Couldn't open …: …": the program exists, but didn't start;
- "Folder not found: …" and "File not found: …": the folder or the file is gone from disk.
- In Preferences: "Enter the command." and "There are unclosed quotes.", while you type the custom command.
Ctrl+Shift+E, Alt+T and Alt+O can be changed in Preferences › Keyboard shortcuts. See Keyboard shortcuts.
- Preferences › External tools (external editor and terminal).
- The page can be hidden or made read-only by the company policy, with the id
tools. See Policy keys.
- Integrated terminal
- git mergetool and git difftool: the external diff and merge tool.
- File Explorer
- Preferences