Skip to content

v5.0.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@eamodio eamodio released this 12 Sep 03:55

Added

  • Adds an all-new GitLens custom view to the Explorer activity

    • Repository View - provides a full repository explorer

      GitLens Repository view

      • Repository Status node — provides the status of the repository

        • Provides the name of the current branch, its upstream tracking branch (if available), and its upstream status (if available)
        • Provides indicator dots on the repository icon which denote the following:
          • None - up-to-date with the upstream
          • Green - ahead of the upstream
          • Red - behind the upstream
          • Yellow - both ahead of and behind the upstream
        • Provides additional nodes, if the current branch is not synchronized with the upstream, to quickly see and explore the specific commits ahead and/or behind the upstream
        • Provides a context menu with Open Repository in Remote, and Refresh commands
      • Branches node — provides a list of the local branches

        • Indicates which branch is the current branch and optionally shows the remote tracking branch
        • Expand each branch to easily see its revision (commit) history
          • Expand each revision (commit) to quickly see the set of files changed, complete with status indicators for adds, changes, renames, and deletes
            • Provides a context menu on each changed file with Open Changes, Open Changes with Working Tree, Open File, Open Revision, Open File in Remote, Open Revision in Remote, Apply Changes, and Show Commit File Details commands
          • Provides a context menu on each revision (commit) with Open Commit in Remote, Copy Commit ID to Clipboard, Copy Commit Message to Clipboard, Open Files, Open Revisions, Show Commit Details, and Refresh commands
          • Provides a context menu on each branch with Open Branch in Remote, and Refresh commands
        • Provides a context menu with Open Branches in Remote, and Refresh commands
      • Remotes node — provides a list of remotes

        • Expand each remote to see its list of branches
          • Expand each branch to easily see its revision (commit) history
            • Expand each revision (commit) to quickly see the set of files changed, complete with status indicators for adds, changes, renames, and deletes
              • Provides a context menu on each changed file with Open Changes, Open Changes with Working Tree, Open File, Open Revision, Open File in Remote, Open Revision in Remote, Apply Changes, and Show Commit File Details commands
            • Provides a context menu on each revision (commit) with Open Commit in Remote, Copy Commit ID to Clipboard, Copy Commit Message to Clipboard, Open Files, Open Revisions, Show Commit Details, and Refresh commands
          • Provides a context menu on each remote with Open Branches in Remote, Open Repository in Remote, and Refresh commands
        • Provides a context menu with a Refresh command
      • Stashes node — provides a list of stashed changes

        • Expand each stash to quickly see the set of files stashed, complete with status indicators for adds, changes, renames, and deletes
        • Provides a context menu with Stash Changes, and Refresh commands
        • Provides a context menu on each stash with Apply Stashed Changes (confirmation required), Delete Stashed Changes (confirmation required), Copy Commit Message to Clipboard, Open Files, Open Revisions, and Refresh commands
        • Provides a context menu on each stashed file with Open Changes, Open Changes with Working Tree, Open File, Open Revision, Open File in Remote, Apply Changes, and Show File History commands
    • History View - provides the revision history of the active file

      GitLens History view

      • Automatically updates to track the active editor
      • Provides a context menu with Open File, Open File in Remote, and Refresh commands
      • Provides a context menu on each revision (commit) with Open Changes, Open Changes with Working Tree, Open File, Open Revision, Open File in Remote, Open Revision in Remote, Apply Changes, and Show Commit File Details commands
    • Quickly switch between views using the Switch to Repository View or Switch to History View commands

    • Provides toolbar commands to Search Commits, Switch to Repository View or Switch to History View, and Refresh

  • Adds command-links to the details hover annotation

    • Clicking the commit id will run the Show Commit Details command (gitlens.showQuickCommitDetails)
  • Adds command-links to the changes hover annotation

    • Clicking on Changes will run the Compare File Revisions command (gitlens.diffWith)
    • Clicking the current and previous commit ids will run the Show Commit Details command (gitlens.showQuickCommitDetails)
  • Adds support for custom remote services - see #120

  • Adds support for the Bitbucket Server (previously called Stash) remote service - see #120

  • Adds Compare File Revisions command (gitlens.diffWith) - compares the specified file revisions

  • Adds Open Branches in Remote command (gitlens.openBranchesInRemote) - opens the branches in the supported remote service

  • Adds Stash Changes command (gitlens.stashSave) to the source control group context menu -- can now stash a group of files

  • Adds Stash Changes command (gitlens.stashSave) to the source control resource context menu -- can now stash individual files (works with multi-select too!)

  • Adds gitlens.gitExplorer.view setting to specify the starting view (mode) of the GitLens custom view

  • Adds gitlens.gitExplorer.showTrackingBranch setting to specify whether or not to show the tracking branch when displaying local branches in the GitLens custom view

  • Adds gitlens.gitExplorer.commitFormat setting to specify the format of committed changes in the GitLens custom view

  • Adds gitlens.gitExplorer.commitFileFormat setting to specify the format of a committed file in the GitLens custom view

  • Adds gitlens.gitExplorer.stashFormat setting to specify the format of stashed changes in the GitLens custom view

  • Adds gitlens.gitExplorer.stashFileFormat setting to specify the format of a stashed file in the GitLens custom view

  • Adds ${filePath} token to file formatting settings

Changed

  • Changes Show Stashed Changes option icon in repository status quick pick menu to match the GitLens custom view
  • Changes Stash Changes option icon in stashed changes quick pick menu to a plus (+)
  • Renames Compare File with Previous command (gitlens.diffWithPrevious) to Compare File with Previous Revision
  • Renames Compare File with Next Commit command (gitlens.diffWithNext) to Compare File with Next Revision
  • Renames Compare File with Working Tree command (gitlens.diffWithWorking) to Compare File with Working Revision
  • Renames Compare Line Commit with Previous command (gitlens.diffLineWithPrevious) to Compare Line Revision with Previous
  • Renames Compare Line Commit with Working Tree command (gitlens.diffLineWithWorking) to Compare Line Revision with Working

Removed

  • Removes Git Stashes custom view view - as it's functionality has been folded into the new GitLens custom view
  • Removes gitlens.stashExplorer.stashFormat setting
  • Removes gitlens.stashExplorer.stashFileFormat setting
  • Removes Stash Unstaged Changes option from stashed changes quick pick menu -- didn't work as intended
  • Removes the seeding of the commit search command from the clipboard

Fixed

  • Fixes an issue where double hover annotations could be shown on blank lines
  • Fixes an issue where remote branches couldn't be opened properly in their remote service
  • Fixes #130 - First-run "Thank you for choosing GitLens! [...]" info message shown on every start up
  • Fixes #120 - Feature Request: "Open in Remote" support for custom repositories
  • Fixes an issue where sometimes diffs (via branch name) wouldn't open properly
  • Fixes an issue where remotes are queried more than once on startup