A Visual Studio Code extension to SVN blame files. When run, this extension will place an icon next to each line of your file. Each icon colour refers to a different revision. Hovering a line will display a tooltip, showing the committer, date, and message. Blame data will also display inline.
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.
This extension contributes the following commands to the Command palette.
Command | Description | Shortcut |
---|---|---|
SVN Blamer - Show blame | Blames file, and retrieves log data (if setting is enabled) | CTRL + ALT + D (Windows) CTRL + CMD + X (Mac) |
SVN Blamer - Clear blame | Clears the applied blame for the active file | |
SVN Blamer - Toggle blame | Will toggle between fetching blame data and clearing visual indicators | CTRL + ALT + E (Windows) CTRL + CMD + Y (Mac) |
Setting | Description | Default value |
---|---|---|
Auto Blame | Automatically blames files as you open them. | false |
Enable Logs | Fetches and displays revision log data in the popup. | true |
Enable Visual Indicators | Toggle visual indicators that sit to the left of the line number. | true |
SVN Executable Path | Path to svn executable or alternative command. | "svn" |
- Authentication errors #5
Please report any bugs, suggestions or documentation requests via issues
Feel free to submit pull requests