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 b617a90c5b Better marketplace presence преди 8 години
.vscode Adds full blame UI support 删除 преди 8 години
images Better marketplace presence 删除 преди 8 години
src Fixes #4 删除 преди 8 години
test Initial commit -- very basic blame support 删除 преди 8 години
typings Adds .gitignore checks to reduce blame calls 删除 преди 8 години
.gitignore Initial commit -- very basic blame support преди 8 години
.vscodeignore Initial commit -- very basic blame support преди 8 години
LICENSE Initial commit -- very basic blame support преди 8 години
README.md Better marketplace presence преди 8 години
package.json Better marketplace presence преди 8 години
tsconfig.json Initial commit -- very basic blame support преди 8 години
typings.json Renamed to GitLens преди 8 години
vsc-extension-quickstart.md Initial commit -- very basic blame support преди 8 години

README.md

GitLens

Provides Git information (most recent commit, number of authors) in CodeLens, on-demand inline blame annotations, a blame history explorer, and commands to compare changes with the working tree and/or previous versions.

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

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

    Clicking on the CodeLens toggles Git blame annotations on/off

Screenshot

GitLens preview

Requirements

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

Extension Settings

See the Contributions tab above

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.1.1

  • Improved blame annotations, now with sha and author by default
  • Add new blame annotation styles -- compact and expanded (default)
  • Adds many new configuration settings; see Contributions tab above

0.0.7

  • Fixes #4 - Absolute paths fail on Windows due to backslash (Really!)
  • Fixes #5 - Finding first non-white-space fails sometimes
  • Adds .gitignore checks to reduce the number of blame calls

0.0.6

  • Fixes #2 - [request] Provide some debug info when things fail
  • Fixes #4 - Absolute paths fail on Windows due to backslash
  • Attempts to scroll to the correct position when opening a diff

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.