Note: This extension leverages your machine's SVN installation,
so you need to install SVN first.
If you use TortoiseSVN, make sure the option
Command Line Tools is checked during installation and
C:\Program Files\TortoiseSVN\bin is available in PATH.
- Please report any bugs, suggestions or documentation requests via the Issues
- Feel free to submit pull requests
- JohnstonCode
- edgardmessias
- csholmq
- rwatts3
- lapo-luchini
- Source Control View
- Quick Diffs in gutter
- Status Bar
- Create changelists
- Add files
- Revert edits
- Remove files
- Create branches
- Switch branches
- Create patches
- Diff changes
- Commit changes/changelists
- See commit messages
How to enable:
- Open the file:
<vscode path>\resources\app\product.json - Find
extensionAllowedProposedApi - Append
"johnstoncode.svn-scm"in the array
Example:
// FROM
{
"extensionAllowedProposedApi": [
"ms-vsliveshare.vsliveshare"
]
}
// TO
{
"extensionAllowedProposedApi": [
"ms-vsliveshare.vsliveshare", "johnstoncode.svn-scm"
]
}svn.enabled
- Enables Svn as a SCM in VS Code.
"default"—true
svn.decorations.enabled
- Controls if SVN contributes colors and badges to the explorer and the open (VSCode >= 1.18 with proposed-api enabled)
"default"—true
svn.diff.withHead
- Show diff changes using latest revision in the repository. Set false to use latest revision in local folder
"default"—true
svn.layout.trunk
- Relative path for 'trunk' in SVN URL, 'null' to disable. (Ex.: 'trunk', 'main')
"default"—trunk
svn.layout.branches
- Relative path for 'branches' in SVN URL, 'null' to disable. (Ex.: 'branches', 'versions')
"default"—branches
svn.layout.tags
- Relative path for 'tags' in SVN URL, 'null' to disable. (Ex.: 'tags', 'stamps')
"default"—tags
svn.multipleFolders.enabled
- Allow to find subfolders using SVN
"default"—false
svn.multipleFolders.depth
- Maximum depth to find subfolders using SVN
"default"—4
svn.multipleFolders.ignore
- Folders to ignore using SVN
"default"—["**/.git", "**/.hg", "**/vendor", "**/node_modules"]
svn.sourceControl.ignoreOnCommit
- Changelists to ignore on commit
"default"—["ignore-on-commit"]
svn.sourceControl.showExternal
- Allow to show in source control the list the external folders
"default"—false
svn.log.length
- Number of commit messages to log
"default"—50
svn.branch.update
- How frequently (in minutes) to check branch changes. Set to
0to avoid periodic checks
"default"—5