No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

63 líneas
2.7 KiB

  1. # GitLens
  2. Provides Git information (most recent commit, # of authors) in CodeLens, on-demand inline blame annotations, a blame explorer, and commands to compare changes with the working tree or previous versions.
  3. ## Features
  4. Provides two CodeLens on code blocks:
  5. - **Recent Change** - author and date of the most recent check-in
  6. > 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
  7. - **Authors** - number of authors of a block and the most prominent author (if there are more than one)
  8. > Clicking on the CodeLens toggles Git blame annotations on/off
  9. ## Screenshot
  10. > ![GitLens preview](https://raw.githubusercontent.com/eamodio/vscode-git-codelens/master/images/preview-gitlens.gif)
  11. ## Requirements
  12. Must be using Git and it must be in your path.
  13. ## Extension Settings
  14. See the Contributions tab above
  15. ## Known Issues
  16. - Content in the **Blame explorer** disappears after a bit: [vscode issue](https://github.com/Microsoft/vscode/issues/11360)
  17. - Highlighted lines disappear in **Blame explorer** after changing selection and returning to a previous selection: [vscode issue](https://github.com/Microsoft/vscode/issues/11360)
  18. - CodeLens aren't updated properly after a file is saved: [vscode issue](https://github.com/Microsoft/vscode/issues/11546)
  19. - Visible whitespace causes issue with blame overlay (currently fixed with a hack, but fails randomly): [vscode issue](https://github.com/Microsoft/vscode/issues/11485)
  20. ## Release Notes
  21. ### 0.1.3
  22. - Improved blame annotations, now with sha and author by default
  23. - Add new blame annotation styles -- compact and expanded (default)
  24. - Adds many new configuration settings; see Contributions tab above
  25. ### 0.0.7
  26. - Fixes [#4](https://github.com/eamodio/vscode-gitlens/issues/4) - Absolute paths fail on Windows due to backslash (Really!)
  27. - Fixes [#5](https://github.com/eamodio/vscode-gitlens/issues/5) - Finding first non-white-space fails sometimes
  28. - Adds .gitignore checks to reduce the number of blame calls
  29. ### 0.0.6
  30. - Fixes [#2](https://github.com/eamodio/vscode-gitlens/issues/2) - [request] Provide some debug info when things fail
  31. - Fixes [#4](https://github.com/eamodio/vscode-gitlens/issues/4) - Absolute paths fail on Windows due to backslash
  32. - Attempts to scroll to the correct position when opening a diff
  33. ### 0.0.5
  34. - Fixes issues where filename changes in history would cause diffs to fails
  35. - Fixes some issues with uncommited blames
  36. - Removes CodeLens from fields and single-line properties to reduce visual noise
  37. - Automatically turns off blame only when required now
  38. ### 0.0.4
  39. Candidate for preview release on the vscode marketplace.
  40. ### 0.0.1
  41. Initial release but still heavily a work in progress.