vscode-gitlens

Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more

OTHER License

Stars
8.7K
Committers
122

Bot releases are hidden (Show)

vscode-gitlens - v13.1.1

Published by d13 almost 2 years ago

Fixed

  • Fixes #2354 - 'GitLens: Compare working three with...' Not able to select branch using keyboard
  • Fixes #2359 - rebase view shows 2 user icons even when they're the same
vscode-gitlens - v12.1.2

Published by eamodio over 2 years ago

Fixed

  • Fixes #2048 - Gitlens not loading in vscode.dev
vscode-gitlens - v12.1.1

Published by d13 over 2 years ago

Added

  • Adds getting started tutorial video to the Welcome, Get Started walkthrough, GitLens Home view, and README

Fixed

  • Fixes #2037 - Autolinks can end up getting saved with invalid (cached) properties
vscode-gitlens - v12.1.0

Published by d13 over 2 years ago

Added

  • Adds rich integration with GitLab and GitLab self-managed instances — closes #1236
    • Adds associated pull request to line annotations and hovers
      Pull requests on line annotation and hovers
    • Adds associated pull request to status bar blame
      Pull requests on status bar
    • Adds GitLab avatars
    • Adds associated pull requests to branches and commits in GitLens views
    • Adds rich autolinks for GitLab issues and merge requests, including titles, status, and authors
    • Adds rich support to Autolinked Issues and Pull Requests within comparisons to list autolinked GitLab issues and merge requests in commit messages
    • Additional thanks to Kevin Paxton (kpaxton) for help and contributions on this feature
  • Adds editor line highlighting and code fading (dimming) to the File Heatmap annotations to make it easier to tell recent vs old lines of code
    • Adds a line option to gitlens.heatmap.locations setting to specify whether to add a line highlight to the File Heatmap annotations
    • Adds a gitlens.heatmap.fadeLines setting to specify whether to fade out older lines when showing the File Heatmap annotations
  • Adds editor line highlighting to the File Changes annotations for easier discovery of the added or changed lines
    • Adds a line option to gitlens.changes.locations setting to specify whether to add a line highlight to the File Changes annotations
  • Adds "vanilla" Gerrit remote provider support — closes #1953 thanks to PR #1954 by Felipe Santos (@felipecrs)
  • Adds "Oldest first" toggle to Interactive Rebase — closes #1190
    • Adds a gitlens.rebaseEditor.ordering setting to specify how Git commits are displayed in the Interactive Rebase Editor
  • Adds new and improved Autolink support
    • Adds an Autolinks section in the GitLens Settings Editor to visually add and update autolink entries — closes #1315
    • Adds improved support to Autolinked Issues and Pull Requests within comparisons to list autolinked issues in commit messages
      • You can now see all autolinks found in the commits in the comparison regardless of whether its a provider-based autolink or a custom (user-provided) autolink
  • Adds Open Current Branch on Remote to the Command Palette — closes #1718

Changed

  • Improves how stashes are shown in the Stashes view by separating the associated branch from the stash message — closes #1523
  • Changes previous Gerrit remote support to Google Source remote support — thanks to PR #1954 by Felipe Santos (@felipecrs)
  • Renames "Gutter Blame" annotations to "File Blame"
  • Renames "Gutter Changes" annotations to "File Changes"
  • Renames "Gutter Heatmap" annotations to "File Heatmap"

Fixed

  • Fixes #2033 - Diffing, applying, and restoring untracked files in a stash doesn't work
  • Fixes #2028 - Branch names with special characters '<' also causes errors on the command line — thanks to PR #2030 by mcy-kylin (@mcy-kylin)
  • Fixes #2028 - Branch names with special characters like ';$|>' causes errors on the command line (terminal executed git commands)
  • Fixes #2021 - GitLab remote provider uses legacy routes — thanks to PR #2022 by Brian Williams (@Brcrwilliams)
  • Fixes #1998 - Settings: time format reads 'Example date' instead of 'Example time' — thanks to PR #1999 by Barney Carroll (@barneycarroll)
  • Fixes #2012 - 'Gitlens: Open Changes with Revision...' results in error
  • Fixes #2014 - '#' encoded incorrectly
  • Fixes #1787 - Remove '-review' from Gerrit Remote reviewDomain() — thanks to PR #1954 by Felipe Santos (@felipecrs)
  • Fixes #1902 - Support replacing mirror/replica domain with main domain for remote provider — thanks to PR #1954 by Felipe Santos (@felipecrs)
vscode-gitlens - v12.0.7

Published by eamodio over 2 years ago

Fixed

  • Fixes #1979 - GitLens stopped working in v12.0.0 and later
  • Fixes #1882 - Blame annotations not showing anymore after update
  • Fixes #1776 - Cant follow symlinks
  • Fixes #2000 - File Changes annotations fail to display in certain cases
  • Fixes #1936 - Broken repositories view
  • Fixes an issue where commit messages in views incorrectly had ellipsis at the end
  • Fixes an issue where clicking on tokens on the Settings editor popup wouldn't add the token into the input
vscode-gitlens - v11.0.4

Published by eamodio almost 4 years ago

Fixed

  • Fixes #1161 - Compare file differences between branches
  • Fixes #1157 - GitLens report X files changed when comparing working tree with a branch having identical files
vscode-gitlens - v11.0.3

Published by eamodio almost 4 years ago

Fixed

  • Fixes #1163 - Use Interactive Rebase Editor when run from GitLens command (regardless of Git config)
  • Fixes #1197 - Can't squash commit in interactive rebase editor
  • Fixes the gitlens.codeLens.scopes setting json schema
vscode-gitlens - v11.0.2

Published by eamodio almost 4 years ago

Added

  • Adds a quick-access button to the Interactive Rebase Editor to disable it — closes #1153
  • Adds shortcut keys to start and abort a rebase in the Interactive Rebase Editor
  • Adds a Disable Interactive Rebase Editor command (gitlens.disableRebaseEditor) to disable the interactive rebase editor
  • Adds an Enable Interactive Rebase Editor command (gitlens.enableRebaseEditor) to enable the interactive rebase editor
  • Adds an Interactive Rebase Editor section to the GitLens Interactive Settings

Changes

  • Changes the layout spacing of the Interactive Rebase Editor to allow for more commits to be shown at once

Fixed

  • Fixes #1187 - Warning about incorrect regexp in DevTools console — thanks to PR #1188 by Andrii Dieiev (@IllusionMH)
  • Fixes #1151 - Icons not showing in interactive rebase
  • Fixes #1166 - Enormous avatars in interactive rebase view
vscode-gitlens - v11.0.1

Published by eamodio almost 4 years ago

Added

  • Adds a Compare References... command (gitlens.compareWith) to compare two selected references
  • Adds ability to enter reference ranges (e.g. main...release/1.0) to the Git Command Palette's history command

Fixed

  • Fixes #1148 - Follow renames on File History cannot load more history
  • Fixes #1157 - GitLens report X files changed when comparing working tree with a branch having identical files
  • Fixes #1150 - Cannot read property 'provider' of undefined
vscode-gitlens - v11.0.0

Published by eamodio almost 4 years ago

Added

  • Adds all-new views side bar views

    • Moves all GitLens views to the Source Control side bar by default. You can move them back to the GitLens side bar via the Set Views Layout (gitlens.setViewsLayout) command or individually via drag and drop

    • Commits view — visualize, explore, and manage Git commits

      Commits view

      • Adds an indicator icon (up arrow) to unpublished (unpushed) commits
    • Branches view — visualize, explore, and manage Git branches

      Branches view

    • Remotes view — visualize, explore, and manage Git remotes and remote branches

      Remotes view

    • Stashes view — visualize, explore, and manage Git stashes

      Stashes view

    • Tags view — visualize, explore, and manage Git tags

      Tags view

    • Contributors view — visualize, navigate, and explore contributors

      Contributors view

      • Moves the current user to be first and adds a (you) suffix
    • Search & Compare view — search and explore commit histories by message, author, files, id, etc, or visualize comparisons between branches, tags, commits, and more

      Search & Compare view

      • Replaces the Search Commits and Compare Commits views
      • Adds persistence (pinning) for both searches and comparisons
      • Adds ability to edit existing searches
    • Disables the Repositories view by default, as it has been superseded by many new views. You can re-enable it by setting "gitlens.views.repositories.enabled": true or via the GitLens Interactive Settings

    • Integrates line history into the File History view

      File History view view

      • Adds a new Toggle History Mode command to toggle between showing file or line history
      • Adds an indicator icon (up arrow) to unpublished (unpushed) commits
      • Adds support for showing history across all branches via the Toggle Filter menu command — closes #974
      • Adds staged changes
    • Welcome view — quickly setup GitLens to meet your needs (for first time users only)

  • Adds a user-friendly interactive rebase editor to easily configure an interactive rebase session

    Rebase Editor

  • Adds terminal linksctrl+click on autolinks in the integrated terminal to quickly jump to more details for commits, branches, tags, and more

    Terminal Links

  • Adds rich integration with GitHub

    • Adds GitHub avatar support!

    • Adds associated pull request to line annotations and hovers

      Pull requests on line annotation and hovers

    • Adds associated pull request to status bar blame

      Pull requests on status bar

    • Adds associated pull requests to branches and commits in the GitLens views

    • Adds autolinks for GitHub issues and pull requests, including titles, status, and authors

  • Adds a new and improved Gutter Heatmap file annotations, via the Toggle File Heatmap Annotations command (gitlens.toggleFileHeatmap)

    Gutter Heatmap

    • Displays the heatmap in the gutter for a cleaner look and avoids any code jumping
    • Adds improved heatmap colorization for better clarity of old and new code
    • Adds the hot/cold age threshold to the GitLens Interactive Settings
  • Adds a new and improved Gutter Changes file annotations, via the Toggle File Changes Annotations command (gitlens.toggleFileChanges) — closes #396

    Gutter Changes

    • Provides indicators of local changes, if any, or recent commit changes, and distinguishes between added, changed, and removed lines
    • Similar to the built-in Git gutter changes for un-staged changes, but shows all local (un-pushed) changes
    • Shows a changes hover with the full set of changes (diff hunk) and even with unsaved changes
  • Adds many refinements to the Git Command Palette (previously Git Commands), and adds new commands

    Git Command Palette

    • Adds many more options to existing commands
    • Adds improved titles for better clarity, context, and flow
    • Adds a new history (log) command to show the commit history of a branch or tag
      • Adds a Reveal in Side Bar button to the quick pick menu toolbar
      • Adds keyboard navigation
        • right arrow — reveals the selected branch in the Branches or Remotes view (or Repositories view, if enabled), if there is no text in the quick pick menu
        • alt+right arrow, ctrl+right arrow, cmd+right arrow (macOS) — reveals the selected branch in the Branches or Remotes view
    • Adds a new show command to show the details of a commit
      • Adds a Reveal in Side Bar button to the quick pick menu toolbar
      • Adds keyboard navigation
        • right arrow — searches for the selected commit and shows the results in the Search Commits view, if there is no text in the quick pick menu
        • alt+right arrow — searches for the selected commit and shows the results in the Search Commits view
        • ctrl+right arrow, cmd+right arrow (macOS) — reveals the selected commit in the Commits view (or Repositories view, if enabled)
    • Adds a new status command to show the current respository status
    • Adds a new Delete Branch & Remote and Force Delete Branch & Remote options to the branch delete command — to more easily delete branches with tracking branches
    • Adds ability pull (fetch) a specific branch(es) to the pull command — closes #873
    • Adds a new Publish Branch option to the push command
    • Adds ability to push a single branch to the push command
    • Adds support for honoring the git.useForcePushWithLease setting on the push command
    • Adds a new Soft Reset (--soft) option to the reset command
  • Adds improved autolinks support

    • Adds a new alphanumeric flag to autolinks — closes #946
    • Adds autolink support in plain text (as footnotes)
    • Allows autolinks inside parentheses and square brackets
  • Adds improved co-author support

    • Provides an updatable quick pick of co-authors
    • Adds the Add Co-authors (gitlens.addAuthors) command to the Source Control context menu
    • Adds an option to show or hide the Add Co-authors command on the Source Control context menu to the Menus & Toolbars section of the GitLens Interactive Settings
  • Adds many new commands

    • Open File from Remote (gitlens.openFileFromRemote) command — opens the local file from a remote file url
    • Set Views Layout (gitlens.setViewsLayout) command — quickly switch between showing GitLens views in GitLens sidebar (default) and the Source Control sidebar
    • Adds a Switch to Another Branch (gitlens.views.switchToAnotherBranch) command — to quickly switch the current branch
    • Copy Remote Commit Url command (gitlens.copyRemoteCommitUrl) — copies the url of the current line commit on the remote provider
    • Copy Remote Branch Url command (gitlens.copyRemoteBranchUrl) — copies the url of a branch on the remote provider
    • Copy Remote Branches Url command (gitlens.copyRemoteBranchesUrl) — copies the url of the branches on the remote provider
    • Open Comparison on Remote command (gitlens.openComparisonOnRemote) — opens the comparison on the remote provider
    • Copy Remote Comparison Url command (gitlens.copyRemoteComparisonUrl) — copies the url of the comparison on the remote provider
    • Open Pull Request command (gitlens.openPullRequestOnRemote) — opens the pull request on the remote provider
    • Copy Pull Request Url command (gitlens.copyRemotePullRequestUrl) — copies the url of the pull request on the remote provider
    • Copy Remote Repository Url command (gitlens.copyRemoteRepositoryUrl) — copies the url of the repository on the remote provider
  • Adds alternative alt+click commands for many of the Open * on Remote commands to alternatively copy the url to the clipboard

  • Adds an Open Commit on Remote command (with an Copy Remote Commit Url alt+click command) to commits in the VS Code Timeline view

  • Adds ability to set the default remote from any of the Open * on Remote command quick pick menus

  • Adds Git Code Lens to markdown headers

  • Adds new Git Code Lens options to disable the click actions on both the recent change and authors code lens — closes #989 thanks to PR #1009 by Abdulrahman (Abdu) Assabri (@abdusabri)

  • Adds per-language customizations to the gitlens.codeLens.scopes and gitlens.codeLens.symbolScopes settings — closes #977

  • Adds new click behavior for changed files in GitLens views to open a diff of all contained changes

  • Adds a new gitlens.hovers.avatarSize setting to customize the size of avatars shown in hovers

    • Increases the default avatar size in hovers from 16px to 32px
  • Adds Hide Avatars or Show Avatars menu command to many GitLens views to hide or show avatars

  • Adds Hide Date Markers or Show Date Markers menu command to many GitLens views to hide or show relative date markers

  • Adds real-time preview when editing format strings in the GitLens Interactive Settings

  • Adds a new commit format tokens: ${authorNotYou}, ${agoOrDateShort}, ${authorAgoOrDateShort}, ${committerAgoOrDateShort}

  • Adds synchronized storage to avoid opening the Welcome page or showing a What's New notification on new machines when Settings Sync is enabled

  • Adds new Welcome and Open Settings menu commands to the GitLens gear menu in the Extensions sidebar — closes #952 & #953 thanks to PR #992 by Zeeshan Adnan (@zeeshanadnan)

  • Adds a new HEAD choice to the compare quick pick menu — closes #927

  • Adds support for .gitattributes text conversion filters — closes #866 thanks to PR #1052 by Martin Campbell (@martin-css)

  • Adds week(s) ago to relative time formatting

  • Adds a limit of 5000 commits to the Load All command in GitLens views

  • Adds a Clear command to the branch comparison tool in GitLens views

  • Adds compact mode for showing branch and tag tips on commits in GitLens views

  • Adds Copy SHA command to branches and tags in GitLens views

Changed

  • Changes all comparisons results to be split into ahead and behind groups
  • Changes Git Code Lens to be less intrusive when they are unavailable because of unsaved changes, via new defaults for the gitlens.strings.codeLens.unsavedChanges.* settings
  • Refines all of the GitLens contributed menus to reduce noise and improve usability
  • Changes to use VS Code's built-in icons (codicons) where possible — closes #985
  • Changes to use codicons in hovers — closes #954
  • Changes revision navigation icons to better match VS Code
  • Changes all the Open * on Remote command icons to use the globe codicon
  • Changes the comparison icons in GitLens views
  • Changes the default blame annotation format to show 50 characters (instead of 40)
  • Changes the relative date markers in GitLens views to be less prominent, and avoids showing the marker if it is first item
  • Changes commit quick pick menu commands to align with commit context menu commands
  • Changes the Open Settings and Welcome pages to open beside the active editor
  • Changes the default sorting of branches so that main, master, and develop are first
  • Changes the sorting of branches in the Git Commands Palette and other quick pick menus to be by date descending
  • Changes the default sorting of remotes so that origin is first — closes #924 — thanks to PR #925 by Connor Peet (@connor4312)
  • Changes the default sorting of tags to be by date descending
  • Changes to limit scm/resourceGroup/context and scm/resourceState/context menu contributions
  • Changes to support latest emojis in commit messages
  • Improves VS Code startup performance by using the new onStartupFinished activation event
  • Improves the performance of the Details hover
  • Improves the performance of loading Contributors in the Contributors and Repositories views
  • Improves the performance and experience when opening multiple files or revisions
  • Improves the performance of the file system watching for repository changes (ignores .gitignored files)
  • Moves the avatars in the Gutter Blame file annotations to be part of the annotations rather than in the gutter itself
  • Renames Show More to Load more in GitLens views
  • Renames Show Commit Details command to Show Commit
  • Replaces Push to Commit (via Terminal) command with a new Push to Commit command
  • Deprecates the Line History view, as it has been integrated into the File History view. While it will likely be removed in a future version, you can be re-enable it by setting "gitlens.views.lineHistory.enabled": true
  • Deprecates the gitlens.codeLens.scopesByLanguage setting, use per-language gitlens.codeLens.scopesandgitlens.codeLens.symbolScopes settings instead
  • Deprecates the gitlens.gitCommands.search.showResultsInView setting as it has been renamed to gitlens.gitCommands.search.showResultsInSideBar
  • Deprecates the gitlens.views.commitFileFormat setting, use gitlens.views.formats.files.label instead
  • Deprecates the gitlens.views.commitFileDescriptionFormat setting, use gitlens.views.formats.files.description instead
  • Deprecates the gitlens.views.commitFormat setting, use gitlens.views.formats.commits.label instead
  • Deprecates the gitlens.views.commitDescriptionFormat setting, use gitlens.views.formats.commits.description instead
  • Deprecates the gitlens.views.stashFileFormat setting, use gitlens.views.formats.files.label instead
  • Deprecates the gitlens.views.stashFileDescriptionFormat setting, use gitlens.views.formats.files.description instead
  • Deprecates the gitlens.views.stashFormat setting, use gitlens.views.formats.stashes.label instead
  • Deprecates the gitlens.views.stashDescriptionFormat setting, use gitlens.views.formats.stashes.description instead
  • Deprecates the gitlens.views.statusFileFormat setting, use gitlens.views.formats.files.label instead
  • Deprecates the gitlens.views.statusFileDescriptionFormat setting, use gitlens.views.formats.files.description instead
  • Removes the sponsor heart icon from all GitLens views and simplifies the sponsor command
  • Removes the useless Collapse All command from the File History view
  • Removes the Keep Open toggle button from the Git Command Palette toolbar — the behavior is now automatically determined (unless overridden by the gitlens.gitCommands.closeOnFocusOut setting)
  • Removes ${changes} token from commit description format by default
  • Removes the associated commit sha from tag descriptions
  • Removes many view visibility (enablement) settings as the control over a views visibility is more easily controlled directly by unchecking the view itself
  • Removes the gitlens.views.repositories.showTrackingBranch setting as it is now always enabled

Fixed

  • Fixes diffs of renamed files in certain cases
  • Fixes #1139 - Git crash with v2.29.x
  • Fixes typo forcably -> forcibly — thanks to PR #1138 by Andrea Cigana (@ciganandrea)
  • Fixes missing empty (non-merge) commits
  • Fixes issue with a blank branch name before any commits exist
  • Fixes issues with missing repository or file system change events while vs code is unfocused
  • Fixes remote url issues with spaces in the filename
  • Fixes issue where /HEAD was showing up as a branch
  • Fixes issues with revision navigation commands and diff editors
  • Fixes show command with single file commits
  • Fixes delete of remote branches on the Git Command Palette's branch command
  • Fixes Git Command Palette's back tracking in certain cases
  • Fixes issue to ensure that dropping a stash drops the correct item even if the view is out of date
  • Fixes the Push Stash & Keep Staged option on the Git Command Palette's stash command
  • Fixes issues with stashes and untracked files
  • Fixes the wrong icon on the Unstage All Changes command
  • Fixes issue where a selection change wouldn't always trigger a Line History refresh
  • Fixes issues where GitLens' files would not re-open properly on reload
  • Fixes Incomplete string escaping or encoding code scan warning — https://github.com/eamodio/vscode-gitlens/security/code-scanning/1
  • Fixes Inefficient regular expression code scan warning — https://github.com/eamodio/vscode-gitlens/security/code-scanning/2
  • Fixes #1072 - Add whitespace to tree item tooltip — thanks to PR #1073 by Alex (@deadmeu)
  • Fixes Git Command Palette's stash drop command not working
  • Fixes #1033 - Adopt VS Code's 'asWebviewUri' API
  • Fixes issues with Open Changes with Previous Revision and diff editors
  • Fixes issues with Open Changes with Working File and diff editors
  • Fixes issue with the previous line diff line number being off
  • Fixes issues with bogus merge commits that can show up in file histories; now using --first-parent for git log with --follow
  • Fixes issues with paging git log with merge commits
  • Fixes directory compare from waiting for external tool to exit
  • Fixes #996 - Rename branch should show existing name highlighted
  • Fixes issues with folders that end with a space
  • Fixes typo in contributing search tag link — thanks to PR #981 by Guillem (@guillemglez)
  • Fixes #970 - Stashes doesn't honor files layout
  • Fixes Load more in GitLens views with range notation comparisons
  • Fixes ignoreCase flag on autolinks
  • Fixes #951 - Starring branch updates repository view properly — thanks to PR #963 by Zeeshan Adnan (@zeeshanadnan)
  • Fixes issues with switch branch command error handling
  • Fixes issues with stash command error handling
  • Fixes file history issues with copied and deleted files
  • Fixes intermittent issues with Reveal Commit in Repopsitories View
  • Fixes #910 - "Show Commit in Search Commits View" doesn't work
  • Fixes issues with hovers not showing on first editor
  • Fixes autolinking with remote providers
  • Fixes issues with some settings metadata
vscode-gitlens - v10.2.3

Published by eamodio almost 4 years ago

Fixed

  • Fixes #1139 - Git crash with v2.29.x
vscode-gitlens - v11.0.0-beta.1

Published by eamodio about 4 years ago

Added

  • Adds all-new views to replace the Repositories view
    • Welcome view — quickly setup GitLens to meet your needs
    • Commits view — visualize, explore, and manage Git commits
      • Adds a quick filter toggle to switch between only your commits or everyone's via the Toggle Authors command in the view's toolbar
    • Branches view — visualize, explore, and manage Git branches
    • Remotes view — visualize, explore, and manage Git remotes and remote branches
    • Stashes view — visualize, explore, and manage Git stashes
    • Tags view — visualize, explore, and manage Git tags
    • Contributors view — visualize, navigate, and explore contributors
    • The Repositories view can be re-enabled by setting "gitlens.views.repositories.enabled": true or via the GitLens Interactive Settings
  • Adds links to the integrated terminal for commits, branches, and tags — to quickly jump to more details
  • Adds an all-new custom editor for rebasing
    Rebase Editor
    • Includes drag & drop support
  • (PREVIEW) Adds Pull Request information to line annotations and hovers
  • Adds improved autolinks support
    • Adds support for GitHub issues or pull requests in autolinks
    • Adds issue titles to autolinks (if connected)
    • Adds a new alphanumeric flag to autolinks — closes #946
    • Adds autolink support in plain text (as footnotes)
  • Adds a new and improved Gutter Heatmap file annotations (via the Toggle File Heatmap Annotations command (gitlens.toggleFileHeatmap))
    • Displays the heatmap in the gutter for a cleaner look and avoids any code jumping
    • Adds improved heatmap colorization for better clarity of old and new code
    • Adds the hot/cold age threshold to GitLens interactive settings editor
  • Adds a new and improved Gutter Changes file annotations (via the Toggle File Changes Annotations command (gitlens.toggleFileChanges)) — closes #396
    • Provides indicators of local changes, if any, or recent commit changes, and distinguishes between added, changed, and removed lines
    • Similar to the built-in Git gutter changes for un-staged changes, but shows all local (un-pushed) changes
    • Shows a changes hover with the full set of changes (diff hunk) and even with unsaved changes
  • Adds new Git Commands
    • Adds a new history (log) command to show the commit history of a branch or tag
      • Adds a Reveal in Side Bar button to the quick pick menu toolbar
      • Adds keyboard navigation
        • right arrow — reveals the selected branch in the Branches or Remotes view (or Repositories view, if enabled), if there is no text in the quick pick menu
        • alt+right arrow, ctrl+right arrow, cmd+right arrow (macOS) — reveals the selected branch in the Branches or Remotes view
    • Adds a new show command to show the details of a commit
      • Adds a Reveal in Side Bar button to the quick pick menu toolbar
      • Adds keyboard navigation
        • right arrow — searches for the selected commit and shows the results in the Search Commits view, if there is no text in the quick pick menu
        • alt+right arrow — searches for the selected commit and shows the results in the Search Commits view
        • ctrl+right arrow, cmd+right arrow (macOS) — reveals the selected commit in the Commits view (or Repositories view, if enabled)
    • Adds a new status command to show the current respository status
    • Adds a new Delete Branch & Remote & Force Delete Branch & Remote options to the branch delete command — to more easily delete branches with tracking branches
    • Adds ability pull (fetch) a specific branch(es) to the pull command — closes #873
    • Adds a new Publish Branch option to the push command
    • Adds ability to push a single branch to the push command
    • Adds a new Soft Reset (--soft) option to the reset command
  • Adds a new Toggle File/Line History command to the File History view — which integrates line history into the File History view
  • Adds staged changes to the File History and Line History views
  • Adds a new Open File from Remote (gitlens.openFileFromRemote) command — opens the local file from a remote file url
  • Adds a new Copy Remote Commit Url (gitlens.copyRemoteCommitUrl) command — copies the remote url of the current line commit to the clipboard
  • Adds new alt commands for many of the Open * on Remote commands to alternatively copy the url to the clipboard
  • Adds new ability to set the default remote from any of the Open * on Remote command quick pick menus
  • Adds much improved co-author support
    • Provides an updatable quick pick of co-authors
    • Adds the Add Co-authors (gitlens.addAuthors) command to the Source Control toolbar
    • Adds an option to the Menus & Toolbars section of GitLens interactive settings editor to show/hide the Add Co-authors command on the Source Control toolbar
  • Adds new Git Code Lens options to disable the click actions on both the recent change and authors code lens — closes #989 thanks to PR #1009 by Abdulrahman (Abdu) Assabri (@abdusabri)
  • Adds a new default click action on changed files nodes in GitLens views to open all changes
  • Adds a new gitlens.hovers.avatarSize setting to customize the size of avatars shown in hovers
    • Increases the default avatar size in hovers from 16px to 32px
  • Adds new gitlens.fileAnnotations.command & gitlens.fileAnnotations.diffCommand settings to control the behavior of the toggling of file annotations from the editor toolbar
    • Choose both the default click behavior as well as the alt+click behavior
    • Can also be configured via the GitLens Interactive Settings in the Menus & Toolbars section
  • Adds new Welcome and Open Settings menu options to the GitLens context/gear menu in the Extensions sidebar — closes #952 & #953 thanks to PR #992 by Zeeshan Adnan (@zeeshanadnan)
  • Adds a new Set Views Layout (gitlens.setViewsLayout) command — quickly switch between showing GitLens views in GitLens sidebar (default) and the Source Control sidebar
  • Adds a Clear command to branch comparison nodes in the Commits and Repositories views
  • Adds a Hide Branch Comparison command to branch comparison nodes in the Commits view
  • Adds a Hide/Show Branch Comparison toggle command to the Commits views
  • Adds HEAD option to compare quick pick menu — closes #927
  • Adds per-language customizations to the gitlens.codeLens.scopes and gitlens.codeLens.symbolScopes settings — closes #977
  • Adds support for showing history across all branches in the File History view via the Show Commits from All Branches menu option — closes #974
  • Adds support for .gitattributes text conversion filters — closes #866 thanks to PR #1052 by Martin Campbell (@martin-css)
  • Adds a Switch to Another Branch (gitlens.views.switchToAnotherBranch) command — to quickly switch the current branch
  • Adds a menu option to GitLens views to show or hide avatars

Changed

  • Changes all GitLens views to be on the Source Control side bar by default, but you can still move them all to the GitLens side bar via the Set Views Layout (gitlens.setViewsLayout) command or individually via drag and drop
  • Integrates the Line History view into the File History view, although the old Line History view can be re-enabled by setting "gitlens.views.lineHistory.enabled": true or via the GitLens Interactive Settings
    • File vs Line History can be toggled via the Toggle File/Line History command in the view's toolbar
    • Renames Pause/Resume File Tracking toggle to be Pin/Unpin the Current File History
  • Overhauls the Git Commands (gitlens.gitCommands) quick pick menus
    • Adds many more options
    • Adds improved titles for better clarity, context, and flow
    • Removes the Keep Open toggle button to the quick pick menu toolbar — the behavior is now automatically determined (unless overridden by the gitlens.gitCommands.closeOnFocusOut setting)
  • Changes avatars in the blame file annotations to new be displayed as part of the annotations rather than in the gutter
  • Changes the Git Commands' push command to honor and reflect the git.useForcePushWithLease setting
  • Changes to use VS Code's built-in icons (codicons) where possible — closes #985
  • Changes all Open * on Remote command icons to use the globe codicon
  • Changes to use codicons in hovers — closes #954
  • Changes revision navigation icons to better match VS Code
  • Changes Show More to Load more in GitLens views
  • Changes the sorting of branches so that main, master, and develop are at the top
  • Changes the sorting of remotes so that origin is at the top — closes #924 — thanks to PR #925 by Connor Peet (@connor4312)
  • Changes to allow autolinks inside parentheses and square brackets
  • Changes the default current line format to show the message before the author
  • Changes the default blame annotation format to show 50 characters (instead of 40)
  • Changes the comparision icons in GitLens views
  • Renames Show Commit Details command to Show Commit
  • Renames Show More command in views to Load more
  • Aligns many commit quick pick menu commands and commit context menu commands
  • Replaces Push to Commit (via Terminal) command with a new Push to Commit command
  • Swaps the order of Open Revision and Open File on file revisions
  • Optimizes file system watcher for repository changes (ignores .gitignored files)
  • Improves the performance of the Details hover
  • Improves the performance of the Contributors node in the Repositories view
  • Improves the performance (and experience) when opening multiple files or revisions
  • Marks the current user with a (you) suffix and moves it to the top of the Contributors node in the Repositories view
  • Deprecates the gitlens.codeLens.scopesByLanguage setting. Use per-language gitlens.codeLens.scopesandgitlens.codeLens.symbolScopes settings instead
  • Removes the heart icon from all GitLens views and simplifies the sponsor command
  • Removes many view visibility (enablement) settings as the control over a views visibility is more easily controlled directly by unchecking the view itself
  • Removes the gitlens.views.repositories.showTrackingBranch setting as it is now always enabled

Fixed

  • Fixes delete of remote branches on the Git Commands' branch command
  • Fixes Git Commands back tracking in certain cases
  • Fixes issue to ensure that dropping a stash drops the correct item even if the view is out of date
  • Fixes the Push Stash & Keep Staged option on the Git Commands' stash command
  • Fixes issues with stashes and untracked files
  • Fixes the wrong icon on the Unstage All Changes command
  • Fixes issue where a selection change wouldn't always trigger a Line History refresh
  • Fixes issues where GitLens' files would not re-open properly on reload
  • Fixes Incomplete string escaping or encoding code scan warning — https://github.com/eamodio/vscode-gitlens/security/code-scanning/1
  • Fixes Inefficient regular expression code scan warning — https://github.com/eamodio/vscode-gitlens/security/code-scanning/2
  • Fixes #1072 - Add whitespace to tree item tooltip — thanks to PR #1073 by Alex (@deadmeu)
  • Fixes Git Commands' stash drop command not working
  • Fixes #1033 - Adopt VS Code's 'asWebviewUri' API
  • Fixes issues with Open Changes with Previous Revision and diff editors
  • Fixes issues with Open Changes with Working File and diff editors
  • Fixes issue with the previous line diff line number being off
  • Fixes issues with bogus merge commits that can show up in file histories; now using --first-parent for git log with --follow
  • Fixes issues with paging git log with merge commits
  • Fixes directory compare from waiting for external tool to exit
  • Fixes #996 - Rename branch should show existing name highlighted
  • Fixes issues with folders that end with a space
  • Fixes typo in contributing search tag link — thanks to PR #981 by Guillem (@guillemglez)
  • Fixes #970 - Stashes doesn't honor files layout
  • Fixes Load more in GitLens views with range notation comparisions
  • Fixes ignoreCase flag on autolinks
  • Fixes #951 - Starring branch updates repository view properly — thanks to PR #963 by Zeeshan Adnan (@zeeshanadnan)
  • Fixes issues with switch branch command error handling
  • Fixes issues with stash command error handling
  • Fixes file history issues with copied and deleted files
  • Fixes intermittent issues with Reveal Commit in Repopsitories View
  • Fixes #910 - "Show Commit in Search Commits View" doesn't work
  • Fixes issues with hovers not showing on first editor
  • Fixes autolinking with remote providers
  • Fixes issues with some settings metadata
vscode-gitlens - v11.0.0-alpha.2

Published by eamodio about 4 years ago

Added

  • Adds an all-new custom editor for rebasing (TODO: more details & image)
    • Includes drag & drop support
  • (PREVIEW) Adds Pull Request information to line annotations and hovers (TODO: more details & image)
  • Adds improved autolinks support
    • Adds support for GitHub issues or pull requests in autolinks
    • Adds issue titles to autolinks (if connected)
    • Adds a new alphanumeric flag to autolinks — closes #946
    • Adds autolink support in plain text (as footnotes)
  • Adds a new and improved Gutter Heatmap file annotations (via the Toggle File Heatmap Annotations command (gitlens.toggleFileHeatmap))
    • (TODO: image)
    • Displays the heatmap in the gutter for a cleaner look and avoids any code jumping
    • Adds improved heatmap colorization for better clarity of old and new code
    • Adds the hot/cold age threshold to GitLens interactive settings editor
  • Adds a new and improved Gutter Changes file annotations (via the Toggle File Changes Annotations command (gitlens.toggleFileChanges)) — closes #396
    • (TODO: image)
    • Provides indicators of local changes, if any, or recent commit changes, and distinguishes between added, changed, and removed lines
    • Similar to the built-in Git gutter changes for un-staged changes, but shows all local (un-pushed) changes
    • Shows a changes hover with the full set of changes (diff hunk) and even with unsaved changes
  • Adds a new Open File from Remote (gitlens.openFileFromRemote) command — opens the local file from a remote file url
  • Adds a new Copy Remote Commit Url (gitlens.copyRemoteCommitUrlToClipboard) command — copies the remote url of the current line commit to the clipboard
  • Adds much improved co-author support
    • Provides an updatable quick pick of co-authors
    • Adds the Add Co-authors (gitlens.addAuthors) command to the Source Control toolbar
    • Adds an option to the Menus & Toolbars section of GitLens interactive settings editor to show/hide the Add Co-authors command on the Source Control toolbar
  • Adds new Git Code Lens options to disable the click actions on both the recent change and authors code lens — closes #989 thanks to PR #1009 by Abdulrahman (Abdu) Assabri (@abdusabri)
  • Adds a new default click action on changed files nodes in GitLens views to open all changes
  • Adds a new gitlens.hovers.avatarSize setting to customize the size of avatars shown in hovers
    • Increases the default avatar size in hovers from 16px to 32px
  • Adds new Welcome and Open Settings menu options to the GitLens context/gear menu in the Extensions sidebar — closes #952 & #953 thanks to PR #992 by Zeeshan Adnan (@zeeshanadnan)
  • Adds a new Set Views Layout (gitlens.setViewsLayout) command — quickly switch between showing GitLens views in GitLens sidebar (default) and the Source Control sidebar
  • Adds staged changes to the File History and Line History views
  • Adds HEAD option to compare quick pick menu — closes #927
  • Adds per-language customizations to the gitlens.codeLens.scopes and gitlens.codeLens.symbolScopes settings — closes #977
  • Adds support for showing history across all branches in the File History view via the Show Commits from All Branches menu option — closes #974
  • Adds support for .gitattributes text conversion filters — closes #866 thanks to PR #1052 by Martin Campbell (@martin-css)
  • Adds a Soft Reset (--soft) option to the Git Commands' reset command
  • Adds a menu option to GitLens views to show or hide avatars

Changed

  • Overhauls the Git Commands (gitlens.gitCommands) quick pick menus
    • Adds more command options, better titles and working for more clarity, context, and flow
  • Changes avatars in the blame file annotations to new be displayed as part of the annotations rather than in the gutter
  • Changes the Git Commands' push command to honor and reflect the git.useForcePushWithLease setting
  • Changes to use VS Code's built-in icons (codicons) where possible — closes #985
  • Changes all Open * on Remote command icons to use the globe codicon
  • Changes to use codicons in hovers — closes #954
  • Changes revision navigation icons to better match VS Code
  • Changes Show More to Load more in GitLens views
  • Changes the sorting of branches so that main, master, and develop are at the top
  • Changes the sorting of remotes so that origin is at the top — closes #924 — thanks to PR #925 by Connor Peet (@connor4312)
  • Changes to allow autolinks inside parentheses and square brackets
  • Changes the default current line format to show the message before the author
  • Changes the default blame annotation format to show 50 characters (instead of 40)
  • Changes the comparision icons in GitLens views
  • Renames Show Commit Details command to Show Commit
  • Replaces Push to Commit (via Terminal) command with a new Push to Commit command
  • Swaps the order of Open Revision and Open File on file revisions
  • Optimizes file system watcher for repository changes (ignores .gitignored files)
  • Improves the performance of the Details hover
  • Improves the performance of the Contributors node in the Repositories view
  • Improves the performance (and experience) when opening multiple files or revisions
  • Marks the current user with a (you) suffix and moves it to the top of the Contributors node in the Repositories view
  • Deprecates the gitlens.codeLens.scopesByLanguage setting. Use per-language gitlens.codeLens.scopesandgitlens.codeLens.symbolScopes settings instead
  • Removes the heart icon from all GitLens views and simplifies the sponsor command

Fixed

  • Fixes Incomplete string escaping or encoding code scan warning — https://github.com/eamodio/vscode-gitlens/security/code-scanning/1
  • Fixes Inefficient regular expression code scan warning — https://github.com/eamodio/vscode-gitlens/security/code-scanning/2
  • Fixes #1072 - Add whitespace to tree item tooltip — thanks to PR #1073 by Alex (@deadmeu)
  • Fixes Git Commands' stash drop command not working
  • Fixes #1033 - Adopt VS Code's 'asWebviewUri' API
  • Fixes issues with Open Changes with Previous Revision and diff editors
  • Fixes issues with Open Changes with Working File and diff editors
  • Fixes issue with the previous line diff line number being off
  • Fixes issues with bogus merge commits that can show up in file histories; now using --first-parent for git log with --follow
  • Fixes issues with paging git log with merge commits
  • Fixes directory compare from waiting for external tool to exit
  • Fixes #996 - Rename branch should show existing name highlighted
  • Fixes issues with folders that end with a space
  • Fixes typo in contributing search tag link — thanks to PR #981 by Guillem (@guillemglez)
  • Fixes #970 - Stashes doesn't honor files layout
  • Fixes Load more in GitLens views with range notation comparisions
  • Fixes ignoreCase flag on autolinks
  • Fixes #951 - Starring branch updates repository view properly — thanks to PR #963 by Zeeshan Adnan (@zeeshanadnan)
  • Fixes issues with switch branch command error handling
  • Fixes issues with stash command error handling
  • Fixes file history issues with copied and deleted files
  • Fixes intermittent issues with Reveal Commit in Repopsitories View
  • Fixes #910 - "Show Commit in Search Commits View" doesn't work
  • Fixes issues with hovers not showing on first editor
  • Fixes autolinking with remote providers
  • Fixes issues with some settings metadata
vscode-gitlens - v11.0.0-alpha

Published by eamodio about 4 years ago

vscode-gitlens - v10.2.2

Published by eamodio over 4 years ago

Added

  • Adds unique icons for each GitLens view to better support view moving in VS Code 1.46

Fixed

  • Fixes an issue with some settings showing up with errors on the VS Code settings UI
vscode-gitlens - v10.2.1

Published by eamodio over 4 years ago

Fixed

  • Fixes #932 - Absolute path used in compare on git version 2.25.0.windows.1
  • Fixes an issue with showing changes of staged files in File History view, Open Changes with Previous Revision command, etc.
  • Fixes certain error handling because of change in a VS Code error message
  • Fixes file history issues w/ copied/deleted files
vscode-gitlens - v10.2.0

Published by eamodio almost 5 years ago

Added

  • Adds user-defined autolinks to external resources in commit messages — closes #897
    • Adds a gitlens.autolinks setting to configure the autolinks
    • For example to autolink Jira issues (e.g. JIRA-123 ⟶ https://jira.company.com/issue?query=123):
      • Use "gitlens.autolinks": [{ "prefix": "JIRA-", "url": "https://jira.company.com/issue?query=<num>" }]
  • Adds a Highlight Changes command (gitlens.views.highlightChanges) to commits in GitLens views to highlight the changes lines in the current file
  • Adds a Highlight Revision Changes command (gitlens.views.highlightRevisionChanges) to commits in GitLens views to highlight the changes lines in the revision
  • Adds branch and tag sorting options to the interactive settings editor

Changed

  • Changes commit search to auto-detect full commit shas without the need to prefix it with commit: or #:
  • Changes paging in GitLens views to no longer be naive and now only loads the additional required data for much better performance
  • Changes the Toggle File Layout command icon when in tree layout to match VS Code
  • Restores the original commit icon in the editor toolbar

Fixed

  • Fixes #893 - Problems with # symbol in branch names — thanks to PR #894 by Allan Karlson (@bees4ever)
  • Fixes #677 - Line and file history not working in symlinked repository
  • Fixes #667 - Decoration rendered before code
  • Fixes issues where line blame annotations would sometimes stop working
  • Fixes compact view when branches are shown as a tree
vscode-gitlens - v10.1.2

Published by eamodio almost 5 years ago

Changed

  • Changes commit icon to be closer to VS Code's
  • Changes webviews (welcome, settings) to have inline CSS to avoid FOUC (flash of unstyled content)
  • Only applies --ignore-revs-file custom blame flag if it is supported by the current Git version and the file exists

Fixed

  • Fixes #882 - Search for changes command is malformed
  • Fixes #875 - Editing causes all contextual blames to disappear
  • Fixes #890 - Version warning "Don't Show Again" button not working
  • Fixes #889 - Make the heart icon (support GitLens) rounder
  • Fixes broken view layout buttons in the interactive settings editor
vscode-gitlens - v10.1.1

Published by eamodio about 5 years ago

Added

  • Adds new options to sort tags by date, similar to branches via the gitlens.sortTagsBy setting
  • Adds the tag reference and date to tags in the Repositories view

Changed

  • Bumps the required version of Git to be at least 2.7.2

Fixed

  • Fixes #872 - OpenFileInRemoteCommand Cannot read property 'range' of null
  • Fixes #855 - Missing tags in Repositories view
  • Fixes an issue when creating tags with a message that contains spaces
  • Fixes an issue when creating and switching to a new branch
vscode-gitlens - v10.1.0

Published by eamodio about 5 years ago

Added

  • Adds a new Git Commands (gitlens.gitCommands)
    • Adds a new branch command with sub-commands for create, rename, and delete
      • Adds a Reveal Branch in Repositories View button to the quick pick menu toolbar
      • Adds keyboard navigation
      • right arrow — reveals the selected branch in the Repositories view, if there is no text in the quick pick menu
      • alt+left right, ctrl+left right, cmd+left right (macOS) — reveals the selected branch in the Repositories view
    • Adds a new tag command with sub-commands for create, and delete
      • Adds a Reveal Branch in Repositories View or Reveal Tag in Repositories View button to the quick pick menu toolbar
      • Adds keyboard navigation
      • right arrow — reveals the selected branch or tag in the Repositories view, if there is no text in the quick pick menu
      • alt+left right, ctrl+left right, cmd+left right (macOS) — reveals the selected branch or tag in the Repositories view
  • Adds better co-author support — closes #373
    • Adds a new co-author command to the Git Commands quick pick menu to add a co-author to a commit message
    • Adds a new Add Co-authors command to the inline toolbar and context menu for the Contributors node in the Repositories view
    • Adds the Add as Co-author command to the inline toolbar for the contributors in the Repositories view
  • Adds support for GitHub Pull Request uri schemes (pr://) — closes #678
  • Adds new actions options to the status bar blame
    • Adds a gitlens.showCommitsInView option to show the commit in the Search Commits view
    • Adds a gitlens.revealCommitInView option to to reveal the commit in the Repositories view
  • Adds a new Rename Branch... command to branches in the Repositories view

Changed

  • Improves (drastically) the performance of revealing commits in the Repositories view
  • Changes the Create Branch (via Terminal)... command to Create Branch... and uses the branch create Git command
  • Changes the Delete Branch (via Terminal)... command to Delete Branch... and uses the branch delete Git command
  • Changes the Create Tag (via Terminal)... command to Create Tag... and uses the tag create Git command
  • Changes the Delete Tag (via Terminal)... command to Delete Tag... and uses the tag delete Git command

Fixed

  • Fixes #826 - Deleting stash doesn't remove the stash from the list - have to refresh
  • Fixes #769 - compacting causes duplicate names
  • Fixes issues with issue linking in hovers
  • Fixes issues with the Show commits in Search Commits view Git code lens action with uncommitted changes
  • Fixes missing prefix while search nodes are loading