You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Eric Amodio a2eee23d7f Scrolls to the correct position in the diff 8 vuotta sitten
.vscode Adds full blame UI support 删除 8 vuotta sitten
images Preps for 0.0.4 release 删除 8 vuotta sitten
src Scrolls to the correct position in the diff 删除 8 vuotta sitten
test Initial commit -- very basic blame support 删除 8 vuotta sitten
typings Renamed to GitLens 删除 8 vuotta sitten
.gitignore Initial commit -- very basic blame support 8 vuotta sitten
.vscodeignore Initial commit -- very basic blame support 8 vuotta sitten
LICENSE Initial commit -- very basic blame support 8 vuotta sitten
README.md Fixes some issues with uncommited blames 8 vuotta sitten
package.json Fixes some issues with uncommited blames 8 vuotta sitten
tsconfig.json Initial commit -- very basic blame support 8 vuotta sitten
typings.json Renamed to GitLens 8 vuotta sitten
vsc-extension-quickstart.md Initial commit -- very basic blame support 8 vuotta sitten

README.md

GitLens

Provides Git blame and blame history CodeLens for many supported Visual Studio Code languages (in theory -- the language must support symbol searching).

Features

Provides two CodeLens on code blocks :

  • Recent Change - author and date of the most recent check-in

    Clicking on the CodeLens opens a Blame explorer with the commits and changed lines in the right pane and the commit (file) contents on the left

  • Blame - number of authors of a block and the most prominent author (if there are more than one)

    Clicking on the CodeLens toggles Git blame overlay

GitLens preview

Requirements

Must be using Git and it must be in your path.

Extension Settings

None yet.

Known Issues

  • Content in the Blame explorer disappears after a bit: vscode issue
  • Highlighted lines disappear in Blame explorer after changing selection and returning to a previous selection: vscode issue
  • CodeLens aren't updated properly after a file is saved: vscode issue
  • Visible whitespace causes issue with blame overlay (currently fixed with a hack, but fails randomly): vscode issue

Release Notes

0.0.5

  • Fixes issues where filename changes in history would cause diffs to fails
  • Fixes some issues with uncommited blames
  • Removes CodeLens from fields and single-line properties to reduce visual noise
  • Automatically turns off blame only when required now

0.0.4

Candidate for preview release on the vscode marketplace.

0.0.1

Initial release but still heavily a work in progress.