Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

31 linhas
1.6 KiB

  1. ## Current Line Blame []()
  2. <p align="center">
  3. <img src="../../images/docs/current-line-blame.png" alt="Current Line Blame" />
  4. </p>
  5. GitLens adds an unobtrusive Git blame annotation at the end of the current line, which shows the author, date, and message of the current line's most recent commit.
  6. 💡 Use the [Toggle Line Blame](command:workbench.action.quickOpen?%22>GitLens%3A%20Toggle%20Line%20Blame%22) command from the Command Palette to turn the annotation on and off.
  7. ⚙️ Use the settings editor to customize the [current line annotations](command:gitlens.showSettingsPage?%22current-line%22 'Jump to the Current Line Blame settings').
  8. ## Hovers
  9. <p align="center">
  10. <img src="../../images/docs/hovers-current-line.png" alt="Current Line Blame Hover" />
  11. </p>
  12. Hovering over these blame annotations will reveal more details and links to explore. The **details** hover (the top section) provides many commit details and actions, including autolinks in commit messages, while the **changes** hover (the bottom section) shows a diff of the current line with its previous version and related actions.
  13. ⚙️ Use the settings editor to customize the [hovers](command:gitlens.showSettingsPage?%22hovers%22 'Jump to the Hover settings').
  14. ## Status Bar Blame
  15. <p align="center">
  16. <img src="../../images/docs/status-bar.png" alt="Status Bar Blame" />
  17. </p>
  18. GitLens also adds Git blame information about the current line to the status bar.
  19. ⚙️ Use the settings editor to customize the [status bar](command:gitlens.showSettingsPage?%22status-bar%22 'Jump to the Status Bar settings').