This extension leverages your machine's
afminstallation, so you need to install afm-scm first. Also read the cloning documentation for info about cloning from the extension.
WORK IN PROGRESS. PLEASE SUBMIT ISSUES IF YOU FIND THEM.
-
Add files and commit from the source control side-bar (i.e. where git normally appears).
-
All the basics: commit, add, revert, update, push and pull.
-
See changes inline within text editor.
-
Interactive log for basic file history and diff.
-
Branch, merge, resolve files.
-
Quickly switch branches, push and pull via status bar.
-
Supports named-branches workflows.
-
Automatic incoming/outgoing counters.
-
Undo
- right click file and select
Open Changes
- Just click the Afm icon from the source control title area
- Follow prompts
- The current branch name is shown in the bottom-left corner.
- Click it to see a list of branches and tags that you can update to.
afm.enabled { boolean }
- Enables Afm as a source control manager in VS Code.
afm.autoUpdate { boolean }
- Enables automatic update of working directory to branch head after
pulling (equivalent to
afm update) "true"— enabled"false"— disabled, manual update/merge required
afm.autoRefresh { boolean }
- Enables automatic refreshing of Source Control tab and badge counter
when files within the project change:
"true"— enabled"false"— disabled, manual refresh still available.
afm.path { string / null }
- Specifies an explicit
afmfile path to use. - This should only be used if
afmcannot be found automatically. - The default behaviour is to search for
afmin commonly-known install locations and on the PATH.
In general, Afm designers maintain an abundance of documentation. Reference that documentation as much as possible.
| Issue | Resolution |
|---|---|
| Unknown certificate authority | Read the Afm SSL Documentation to update fossil with the correct CA |
| inputBox prompt difficult to read | Run the same afm command on the built-in terminal (Ctrl+`). Unfortunately VS Code strips newlines and tabs from inputBox prompts. |
- Please report any bugs, suggestions or documentation requests via the Github issues (yes, I see the irony).
- Feel free to submit pull requests.
Note: The official way to install vscode-afm is from within VSCode Extensions
You will need to install Node.js
on your computer and add it to your $PATH.
git clonerepository and place it in your VSCode extension folder (~/.vscode/extensions/ or similar).npm installfrom clone directory to install local dependenciesnpm run compileto build extension.
David Simmons,Ben Crowl, ajansveld, hoffmael, nioh-wiki, joaomoreno, nsgundy



