Skip to content

opista/svn-blamer

Repository files navigation

GitHub package.json version GitHub License

GitHub Release Date

Visual Studio Marketplace Link Visual Studio Marketplace Downloads Visual Studio Marketplace Installs Visual Studio Marketplace Rating

Open VSX Registry Link Open VSX Downloads Open VSX Rating

SVN Blamer

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.

Requirements

Note: This extension leverages your machine's SVN installation, so you need to install SVN first.

Windows users

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.

Features

Visually identify lines changed by the same revision

Display revision information and logs in line

Hover line blame to read the full commit log

Auto-blame files as you open them

Toggle blame from the toolbar

Commands

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)

Configuration

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"

Known Issues

  • Authentication errors #5

Feedback & Contributing

Please report any bugs, suggestions or documentation requests via issues

Feel free to submit pull requests