25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

106 KiB

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[8.0.0-beta2] - 2018-02-02

Added

  • Adds an all-new GitLens welcome page via the Welcome (gitlens.showWelcomePage) command — provides a welcome / onboarding experience
  • Adds an all-new GitLens Settings editor via the Open Settings (gitlens.showSettingsPage) command — provides an easy-to-use WYSIWYG settings editor for many of GitLen's features
  • Adds gitlens.hovers.enabled setting to specify whether or not to provide any hovers
  • Adds gitlens.hovers.annotations.enabled setting to specify whether or not to provide any hovers when showing blame annotations
  • Adds gitlens.hovers.currentLine.enabled setting to specify whether or not to provide any hovers for the current line
  • Adds debug option to the gitlens.outputLevel setting — outputs git commands to a new output channel called GitLens (Git)

Changed

  • Renames GitLens view to GitLens explorer
  • Renames Show Files in Automatic View (gitlens.gitExplorer.setFilesLayoutToAuto) command to Automatic Layout
  • Renames Show Files in List View (gitlens.gitExplorer.setFilesLayoutToList) command to List Layout
  • Renames Show Files in Tree View (gitlens.gitExplorer.setFilesLayoutToTree) command to Tree Layout
  • Renames Show Files in Automatic View (gitlens.resultsExplorer.setFilesLayoutToAuto) command to Automatic Layout
  • Renames Show Files in List View (gitlens.resultsExplorer.setFilesLayoutToAuto) command to List Layout
  • Renames Show Files in Tree View (gitlens.resultsExplorer.setFilesLayoutToAuto) command to Tree Layout
  • Overhauls GitLen's settings for better clarity and ease-of-use
  • Renames gitlens.annotations.file.gutter.gravatars setting to gitlens.blame.avatars
  • Renames gitlens.annotations.file.gutter.compact setting to gitlens.blame.compact
  • Renames gitlens.annotations.file.gutter.dateFormat setting to gitlens.blame.dateFormat
  • Renames gitlens.annotations.file.gutter.format setting to gitlens.blame.format
  • Renames gitlens.annotations.file.gutter.heatmap.enabled setting to gitlens.blame.heatmap.enabled
  • Renames gitlens.annotations.file.gutter.heatmap.location setting to gitlens.blame.heatmap.location
  • Renames gitlens.blame.file.lineHighlight.enabled setting to gitlens.blame.highlight.enabled
  • Renames gitlens.blame.file.lineHighlight.locations setting to gitlens.blame.highlight.locations
  • Renames gitlens.annotations.file.gutter.separateLines setting to gitlens.blame.separateLines
  • Renames gitlens.codeLens.locations setting to gitlens.codeLens.scopes
  • Renames gitlens.codeLens.perLanguageLocations setting to gitlens.codeLens.scopesByLanguage
  • Renames gitlens.codeLens.customLocationSymbols setting to gitlens.codeLens.symbolScopes
  • Renames gitlens.annotations.line.trailing.dateFormat setting to gitlens.currentLine.dateFormat
  • Renames gitlens.blame.line.enabled setting to gitlens.currentLine.enabled
  • Renames gitlens.annotations.line.trailing.format setting to gitlens.currentLine.format
  • Renames gitlens.gitExplorer.gravatars setting to gitlens.explorers.avatars
  • Renames gitlens.gitExplorer.commitFileFormat setting to gitlens.explorers.commitFileFormat
  • Renames gitlens.gitExplorer.commitFormat setting to gitlens.explorers.commitFormat
  • Renames gitlens.gitExplorer.stashFileFormat setting to gitlens.explorers.stashFileFormat
  • Renames gitlens.gitExplorer.stashFormat setting to gitlens.explorers.stashFormat
  • Renames gitlens.gitExplorer.statusFileFormat setting to gitlens.explorers.statusFileFormat
  • Renames gitlens.annotations.file.gutter.hover.changes setting to gitlens.hovers.annotations.changes
  • Renames gitlens.annotations.file.gutter.hover.details setting to gitlens.hovers.annotations.details
  • Renames gitlens.annotations.file.gutter.hover.wholeLine setting to gitlens.hovers.annotations.over
  • Renames gitlens.annotations.line.trailing.hover.changes setting to gitlens.hovers.currentLine.changes
  • Renames gitlens.annotations.line.trailing.hover.details setting to gitlens.hovers.currentLine.details
  • Renames gitlens.annotations.line.trailing.hover.wholeLine setting to gitlens.hovers.currentLine.over
  • Renames gitlens.recentChanges.file.lineHighlight.locations setting to gitlens.recentChanges.highlight.locations

Removed

  • Removes gitlens.codeLens.debug setting, use gitlens.debug instead
  • Removes gitlens.blame.file.annotationType setting, use gitlens.hovers.annotations.enabled
  • Removes gitlens.blame.line.annotationType setting, use gitlens.currentLine.enabled or gitlens.hovers.currentLine.enabled instead
  • Removes gitlens.resultsExplorer.gravatars setting, use gitlens.explorers.avatars instead
  • Removes gitlens.resultsExplorer.commitFileFormat setting, use gitlens.explorers.commitFileFormat instead
  • Removes gitlens.resultsExplorer.commitFormat setting, use gitlens.explorers.commitFormat instead
  • Removes gitlens.resultsExplorer.showTrackingBranch setting
  • Removes gitlens.resultsExplorer.stashFileFormat setting, use gitlens.explorers.stashFileFormat instead
  • Removes gitlens.resultsExplorer.stashFormat setting, use gitlens.explorers.stashFormat instead
  • Removes gitlens.resultsExplorer.statusFileFormat setting, use gitlens.explorers.statusFileFormat instead
  • Removes gitlens.annotations.file.hover.changes setting, use gitlens.hovers.annotations.changes instead
  • Removes gitlens.annotations.file.hover.details setting, use gitlens.hovers.annotations.details instead
  • Removes gitlens.annotations.file.hover.heatmap.enabled setting
  • Removes gitlens.annotations.file.recentChanges.hover.changes setting, use gitlens.hovers.annotations.changes instead
  • Removes gitlens.annotations.file.recentChanges.hover.details setting, use gitlens.hovers.annotations.details instead
  • Removes gitlens.annotations.line.hover.changes setting, use gitlens.hovers.annotations.changes instead
  • Removes gitlens.annotations.line.hover.details setting, use gitlens.hovers.annotations.details instead

[7.5.10] - 2018-02-01

Added

  • Adds support for custom remotes with split project/repo url structure — closes #267

Fixed

  • Fixes #266 - Wrong time in Popup
  • Fixes #259 (again) - File history lists unrelated merge commits

[7.5.9] - 2018-01-30

Fixed

  • Fixes #265 - Delete line pushes screen to the right (even if word wrap is on)

[7.5.8] - 2018-01-29

Fixed

  • Fixes regression working with submodules
  • Fixes #262 - GitLens only available in SCM diff windows
  • Fixes #261 - Unable to open compare. The file is probably not under source control
  • Fixes missing avatars in file blame annotations in non-compact mode
  • Fixes file blame annotation highlight not being restored properly on tab switch

[7.5.7] - 2018-01-25

Added

  • Adds a repository quick pick menu to the Show Commit Search command (gitlens.showCommitSearch) when there is no active repository

Fixed

  • Fixes #257 - Some branches fail to show history
  • Fixes #259 - File history lists unrelated merge commits

[7.5.6] - 2018-01-22

Changed

  • Changes chorded keymap on Windows to use Ctrl+Shift+G rather than Ctrl+Alt+G to avoid issues
    • Also remaps Show SCM to Ctrl+Shift+G G since by default it is Ctrl+Shift+G if the chorded keymap is used
  • Refactors git log and stash output parsing — should be faster and far more robust

Fixed

  • Fixes #256 - Fails to copy commit message
  • Fixes #255 - Lines after an empty line in the commit message are not copied to clipboard
  • Fixes #252 - Cannot read property 'push' of undefined
  • Fixes issue where GitLens wouldn't detect the creation of a Git repository if there were no other repositories open
  • Fixes issue where some GitLens commands would show in the palette even though there was no repository
  • Fixes issue where navigating the history of a renamed file could cause errors
  • Fixes issue with using the gitlens.diffWithPrevious command option for Git code lens

[7.5.5] - 2018-01-18

Fixed

  • Fixes #247 - File annotations button or ESC key does not turn off file annotations
  • Fixes issue where sometimes blame context wasn't available for the open editor when starting vscode

[7.5.4] - 2018-01-17

Fixed

  • Fixes #249 - Gitlens disappears from the status bar
  • Fixes issue where Gravatars in the gutter blame annotations weren't restored on tab switch
  • Fixes issue where the id (sha) was missing in the hover blame annotations for uncommitted changes

[7.5.3] - 2018-01-15

Fixed

  • Fixes #245 - CodeLens disappears/and reappears when auto-saving

[7.5.2] - 2018-01-15

Fixed

  • Fixes #242 - Broken "gitlens.blame.line.enabled" setting

[7.5.1] - 2018-01-15

Added

  • Adds Gravatar support to gutter and hover blame annotations
  • Adds gitlens.annotations.file.gutter.gravatars setting to specify whether or not to show gravatar images in the gutter blame annotations
  • Adds support for providing blame annotations, code lens, etc on files with unsaved changes — closes #112
  • Adds gitlens.defaultDateStyle setting to specify how dates will be displayed by default — closes #89
  • Adds Compare with Working Tree command (gitlens.explorers.compareWithWorking) to branch, tag, and revision (commit) nodes in the GitLens view to compare the current selection with the current working tree in the GitLens Results view
  • Adds Compare Selected Ancestor with Working Tree command (gitlens.explorers.compareSelectedAncestorWithWorking) to branch nodes in the GitLens view once another branch within the same repository has been selected to compare the merge base of current and previously selected branches with the working tree in the GitLens Results view — closes #240
  • Adds Merge Branch (via Terminal) command (gitlens.explorers.terminalMergeBranch) to branch nodes in the GitLens view
  • Adds Rebase (Interactive) Branch (via Terminal) command (gitlens.explorers.terminalRebaseBranch) to branch nodes in the GitLens view
  • Adds Cherry Pick Commit (via Terminal) command (gitlens.explorers.terminalRebaseBranch) to revision (commit) nodes in the GitLens & GitLens Results views
  • Adds Revert Commit (via Terminal) command (gitlens.explorers.terminalRevertCommit) to revision (commit) nodes in the GitLens & GitLens Results views
  • Adds Create Tag (via Terminal)... command (gitlens.explorers.terminalCreateTag) to branch and revision (commit) nodes in the GitLens & GitLens Results views
  • Adds Delete Tag (via Terminal) command (gitlens.explorers.terminalDeleteTag) to tag nodes in the GitLens view
  • Adds a helpful notification the first time the GitLens Results view is shown

Changed

  • Switches to the explorer view before showing the GitLens Results view
  • Renames Rebase Commit (via Terminal) command (gitlens.terminalRebaseCommit) to Rebase to Commit (via Terminal)
  • Renames Reset Commit (via Terminal) command (gitlens.terminalResetCommit) to Reset to Commit (via Terminal)
  • Renames Compare Line Revision with Working command (gitlens.diffLineWithWorking) to Compare Line Revision with Working File
  • Renames Open Changes with Working Tree command (gitlens.openChangesWithWorking) to Open Changes with Working File
  • Deprecates gitlens.gitExplorer.gravatarsDefault setting, replaced by gitlens.defaultGravatarsStyle
  • Deprecates gitlens.resultsExplorer.gravatarsDefault setting, replaced by gitlens.defaultGravatarsStyle

Fixed

  • Fixes issue where the GitLens Results view wouldn't properly update when replacing existing results
  • Fixes issue where showing commit search (file-based) results in the GitLens Results view wouldn't only show the matching files — closes #197
  • Fixes #238 - Show merge commits in file history
  • Fixes issue where the Tags node of the GitLens view wasn't updated on changes
  • Fixes issue where changes to .gitignore weren't detected properly
  • Fixes #241 - Adds default setting for .jsonc files to match Git code lens of .json files
  • Fixes issue where blame annotations and commands were missing from vscode Git staged revision documents
  • Fixes issue where opening changes for renamed files in the GitLens and GitLens Results views wouldn't work properly
  • Fixes issue where file-specific menu commands show up on folders in the explorer

[7.2.0] - 2018-01-01

Added

  • Adds on-demand heatmap annotations of the whole file — closes #182
    • Displays a heatmap (age) indicator near the gutter, which provides an easy, at-a-glance way to tell the age of a line
      • Indicator ranges from bright yellow (newer) to dark brown (older)
  • Adds Toggle File Heatmap Annotations command (gitlens.toggleFileHeatmap) to toggle the heatmap annotations on and off
  • Adds semi-persistent results for commit operations, via the Show Commit Details command (gitlens.showQuickCommitDetails) in the GitLens Results view — closes #237
  • Adds Show in Results option to the commit details quick pick menu to show the commit in the GitLens Results view
  • Adds Compare with Index (HEAD) command (gitlens.explorers.compareWithHead) to branch, tag, and revision (commit) nodes in the GitLens view to compare the current selection with the current index (HEAD) in the GitLens Results view
  • Adds Compare with Remote command (gitlens.explorers.compareWithRemote) to branch nodes in the GitLens view to compare the current selection with its remote tracking branch in the GitLens Results view

Changed

  • Improves startup performance and reduces package size

Fixed

  • Fixes #239 - gitlens.advanced.quickPick.closeOnFocusOut setting should be reversed
  • Fixes #208 - Gitlens doesn't work over UNC

[7.1.0] - 2017-12-22

Added

  • Adds Open Working File command (gitlens.openWorkingFile) - opens the working file for the active file revision — closes #236
  • Adds Open Revision... command (gitlens.openFileRevision) - opens the selected revision for the active file
  • Adds tags to the Compare File with Branch... command (gitlens.diffWithBranch) — closes #204
  • Adds tags to the Directory Compare Working Tree with... command (gitlens.diffDirectory) — closes #204
  • Adds Show Branches and Tags to quick pick menu shown by the Compare File with Revision... command (gitlens.diffWithRevision) — closes #204
  • Adds Show Branches and Tags to quick pick menu shown by the Open Revision... command (gitlens.openFileRevision) — closes #204

Changed

  • Improves startup performance by ~65% (on my very fast PC) and reduces package size by over 75%
  • Renames Compare File with Branch... command (gitlens.diffWithBranch) to Compare File with Branch or Tag...

Fixed

  • Fixes issues with commit paging in certain quick pick menus
  • Fixes issues with certain quick pick menu progress indicators getting stuck in some cases
  • Fixes issues with menu choice placements on the editor title menu

[7.0.0] - 2017-12-18

Added

  • Adds a new Active Repository node to the Repository View of the GitLens view — closes #224

    • Automatically updates to track the repository of the active editor
    • Only visible if there is more than 1 repository within the workspace
  • Adds a new Tags node to the Repository View of the GitLens view — closes #234

    • Provides a list of tags
    • Expand each tag 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 revision (commit) with Open Commit in Remote, Open All Changes, Open All Changes with Working Tree, Open Files, Open Revisions, Copy Commit ID to Clipboard, Copy Commit Message to Clipboard, Show Commit Details, Compare with Selected, Select for Compare, Rebase Commit (via Terminal), Reset Commit (via Terminal), and Refresh commands
          • 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 tag with Compare with Selected, Select for Compare, Open Directory Compare with Working Tree, and Refresh commands
    • Provides a context menu with a Refresh command
  • Adds Gravatar support to the GitLens view

    • Adds gitlens.gitExplorer.gravatars setting to specify whether or not to show gravatar images instead of commit (or status) icons in the GitLens view
    • Adds gitlens.gitExplorer.gravatarsDefault setting to specify the style of the gravatar default (fallback) images in the GitLens view
      identicon - a geometric pattern
      mm - (mystery-man) a simple, cartoon-style silhouetted outline of a person (does not vary by email hash)
      monsterid - a monster with different colors, faces, etc
      retro - 8-bit arcade-style pixelated faces
      robohash - a robot with different colors, faces, etc
      wavatar - faces with differing features and backgrounds
    • Adds gitlens.resultsExplorer.gravatars setting to specify whether or not to show gravatar images instead of commit (or status) icons in the GitLens Results view
    • Adds gitlens.resultsExplorer.gravatarsDefault setting to specify the style of the gravatar default (fallback) images in the GitLens Results view
      identicon - a geometric pattern
      mm - (mystery-man) a simple, cartoon-style silhouetted outline of a person (does not vary by email hash)
      monsterid - a monster with different colors, faces, etc
      retro - 8-bit arcade-style pixelated faces
      robohash - a robot with different colors, faces, etc
      wavatar - faces with differing features and backgrounds
  • Adds Select for Compare command (gitlens.explorers.selectForCompare) to branch, remote branch, tag, and revision (commit) nodes in the GitLens view to mark the base reference of a comparison

  • Adds Compare with Selected command (gitlens.explorers.compareWithSelected) to branch, remote branch, tag, and revision (commit) nodes in the GitLens view once another reference within the same repository has been selected to compare the current selection with the previously selected reference in the GitLens Results view

  • Adds an all-new, on-demand GitLens Results view to the Explorer activity

    • Provides semi-persistent results for commit search operations, via the Show Commit Search command (gitlens.showCommitSearch), and file history operations, via the Show File History command (gitlens.showQuickFileHistory)

      • 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 revision (commit) with Open Commit in Remote, Open All Changes, Open All Changes with Working Tree, Open Files, Open Revisions, Copy Commit ID to Clipboard, Copy Commit Message to Clipboard, Show Commit Details, Compare with Selected, Select for Compare, Rebase Commit (via Terminal), Reset Commit (via Terminal), and Refresh commands
          • 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 semi-persistent results for revision comparison operations, via the Select for Compare command (gitlens.explorers.selectForCompare) and the Compare with Selected command (gitlens.explorers.compareWithSelected)

      • Commits node — provides a list of the commits between the compared revisions (branches or commits)
        • 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 revision (commit) with Open Commit in Remote, Open All Changes, Open All Changes with Working Tree, Open Files, Open Revisions, Copy Commit ID to Clipboard, Copy Commit Message to Clipboard, Show Commit Details, Compare with Selected, Select for Compare, Rebase Commit (via Terminal), Reset Commit (via Terminal), and Refresh commands
            • 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
      • Changed Files node — provides a list of all the files changed between the compared revisions (branches or commits)
        • Expands to a file-based view of all changed files
          • 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 with Open Directory Compare and Refresh commands
    • Provides toolbar commands to Search Commits, Keep Results, Refresh, Show Files in Automatic View or Show Files in List View or Show Files in Tree View, and Close

  • Adds Apply Changes option to the commit/stash file quick pick menu — closes #232

  • Adds Show All Commits option to the commit search quick pick menu to show all the results, if there are more than the threshold

  • Adds Show in Results option to the commit search quick pick menu to show the results in the GitLens Results view

  • Adds Show in Results option to the file history quick pick menu to show the history in the GitLens Results view

Changed

  • Improves startup performance a bit
  • Renames Compare Directory with Branch... command (gitlens.diffDirectory) to Directory Compare Working Tree with...
  • Renames Compare Directory with Previous Revision in quick pick menus to Open Directory Compare with Previous Revision
  • Renames Compare Directory with Working Tree in quick pick menus to Open Directory Compare with Working Tree

Fixed

  • Fixes #228 - Gutter blame spills over heatmap
  • Fixes incorrect blame highlighting — thanks to PR #231 by Alexey Vasyukov (@notmedia)!
  • Fixes issue with the Open in File/Revision option in the file history quick pick menu
  • Fixes issues with Git warnings when parsing log status output (can cause the GitLens view to not show data in some cases)
  • Fixes 🤞 #226 - Annotations show in Debug Console

[6.4.0] - 2017-12-12

Added

  • Adds gitlens.keymap setting to specify the keymap to use for GitLens shortcut keys — closes #104
    • standard - adds a standard set of shortcut keys
    • chorded - adds a chorded set of shortcut keys that all start with Ctrl+Alt+G (⌥⌘G on macOS)
    • none - no shortcut keys will be added
  • Adds progress indicator to the Show Stashed Changes command (gitlens.showQuickStashList)
  • Adds progress indicator to the Apply Stashed Changes command (gitlens.stashApply)

Changed

  • Overhauls the internal way GitLens deals with Uris and revisions should be far more robust and lead to many fewer edge-case issues
  • Aligns quick pick menu commands more with the GitLens view context menus

Fixed

  • Fixes #220 - Open Revision quick pick results in empty file
  • Fixes so, SO, many bugs through the refactor/overhaul of GitLens' Uri handling

[6.3.0] - 2017-11-30

Added

  • Adds support for files with staged changes
    • Adds new entry in the History View of the GitLens view
    • Adds new entry in the Repository View of the GitLens view
    • Adds blame annotations, navigation & comparison commands, etc
  • Adds support for vscode's Git file revisions (e.g. Open File (HEAD)) and diffs (e.g. Open Changes)
    • Adds new entry in the History View of the GitLens view
    • Adds blame annotations, navigation & comparison commands, etc
  • Adds Git code lens to Git file revisions (GitLens or vscode's)

Fixed

  • Fixes 🤞 #202 - Staged change's vscode diff side-by-side view shows the wrong history
  • Fixes 🤞 #216 - PowerShell session not started if GitLen is enabled
  • Fixes #217 - empty editor has git lens in status bar with old information
  • Fixes #218 - Cannot read property 'replace' of undefined
  • Fixes issue with feedback when searching for commits without any matches
  • Fixes issue where quick pick menu progress indicators could get stuck

[6.2.0] - 2017-11-27

Added

  • Adds theming support - vscode themes can now specify GitLens colors as well as directly by using workbench.colorCustomization)
    • Adds gitlens.gutterBackgroundColor themable color
    • Adds gitlens.gutterForegroundColor themable color
    • Adds gitlens.gutterUncommittedForegroundColor themable color
    • Adds gitlens.trailingLineBackgroundColor themable color
    • Adds gitlens.trailingLineForegroundColor themable color
    • Adds gitlens.lineHighlightBackgroundColor themable color
    • Adds gitlens.lineHighlightOverviewRulerColor themable color
  • Adds gitlens.advanced.messages setting to specify which messages should be suppressed

Changed

  • Renames gitlens.theme.annotations.file.gutter.separateLines setting to gitlens.annotations.file.gutter.separateLines
  • Changes from using globalState to use gitlens.advanced.messages setting for message suppression - provides more control and avoids strange intermittent with globalState
  • Changes gitlens.strings.codeLens.unsavedChanges.recentChangeAndAuthors setting default to Unsaved changes (cannot determine recent change or authors)
  • Changes gitlens.strings.codeLens.unsavedChanges.recentChangeOnly setting default to Unsaved changes (cannot determine recent change)
  • Changes gitlens.strings.codeLens.unsavedChanges.authorsOnly setting default to Unsaved changes (cannot determine authors)

Removed

  • Removes gitlens.theme.* settings - now using built-in theme support

Fixed

  • Fixes #211 - Unsaved code lens appears on untracked files
  • Fixes issue where Open * in Remote commands are sometimes missing

[6.1.2] - 2017-11-21

Fixed

  • Fixes #207 - Applying and deleting stashes suddenly stopped working
  • Fixes #205 - Toggle Line Blame Annotations disappeared after last update
  • Fixes #203 - Open Changed Files is broken
  • Fixes #176 - Line annotations some times mess with white space

[6.1.1] - 2017-11-17

Fixed

  • Fixes #201 - "Open in Remote" commands should check for branch upstream tracking
  • Fixes #200 - Submodule using terminal command, root directory is incorrect

[6.1.0] - 2017-11-13

Added

  • Adds support for nested repositories and submodules — closes #198
  • Adds gitlens.advanced.repositorySearchDepth setting to specify how many folders deep to search for repositories

Changed

  • Changes to use diff.guitool first if available, before falling back to diff.tool — closes #195

Fixed

  • Fixes issue where failed git commands would get stuck in the pending queue causing future similar commands to also fail
  • Fixes issue where changes to git remotes would refresh the entire GitLens view

[6.0.0] - 2017-11-08

Added

  • Adds multi-root workspace support — Learn more
  • Adds new logo/icon
  • Adds indicator dots on the branch node(s) of the GitLens view which denote the following:
    • None - no upstream or up-to-date with the upstream
    • Green - ahead of the upstream
    • Red - behind the upstream
    • Yellow - both ahead of and behind the upstream
  • Adds progress indicator to the Search Commits command (gitlens.showCommitSearch)
  • Adds code search support to the Search Commits command (gitlens.showCommitSearch) — closes #127
    • Use ~<regex> to search for commits with differences whose patch text contains added/removed lines that match <regex>
    • Use =<regex> to search for commits with differences that change the number of occurrences of the specified string (i.e. addition/deletion) in a file
  • Adds support to the Compare File with Branch... command (gitlens.diffWithBranch) work with renamed files — closes #165
  • Adds Compare File with Branch... command (gitlens.diffWithBranch) to source control resource context menu
  • Adds Open Repository in Remote command (gitlens.openRepoInRemote) to repository node(s) of the GitLens view
  • Adds Enable Automatic Refresh command (gitlens.gitExplorer.setAutoRefreshToOn) to the GitLens view regardless of the current view
  • Adds Disable Automatic Refresh command (gitlens.gitExplorer.setAutoRefreshToOff) to the GitLens view regardless of the current view
  • Adds new Git terminal commands to the GitLens view - opens a GitLens terminal and sends the specified Git command to it
    • Adds Checkout Branch (via Terminal) command (gitlens.terminalCheckoutBranch) to branch node(s) of the GitLens view
    • Adds Create Branch (via Terminal)... command (gitlens.terminalCreateBranch) to branch node(s) of the GitLens view
    • Adds Delete Branch (via Terminal) command (gitlens.terminalDeleteBranch) to branch node(s) of the GitLens view
    • Adds Rebase Branch to Remote (via Terminal) command (gitlens.terminalRebaseBranchToRemote) to branch node(s) of the GitLens view
    • Adds Squash Branch into Commit (via Terminal) command (gitlens.terminalSquashBranchIntoCommit) to branch node(s) of the GitLens view
    • Adds Rebase Commit (via Terminal) command (gitlens.terminalRebaseCommit) to commit node(s) of the GitLens view
    • Adds Reset Commit (via Terminal) command (gitlens.terminalResetCommit) to commit node(s) of the GitLens view
    • Adds Remove Remote (via Terminal) command (gitlens.terminalRemoveRemote) to remote node(s) of the GitLens view
  • Adds ability to specify the url protocol used with user-defined remote services via gitlens.remotes setting — thanks to PR #192 by Helmut Januschka (@hjanuschka)!

Changed

  • GitLens view will no longer show if there is no Git repository — closes #159
  • Optimizes event handling, executing git commands, and general processing to improve performance and reduce any lag
  • Optimizes current line hover annotations to only be computed on hover (i.e. lazily evaluated) to reduce the compute required when changing lines
  • Protects credentials from possibly being affected by poor network conditions via Git Credential Manager (GCM) for Windows environment variables
  • Delays (slightly) the initial loading of the GitLens view to improve startup performance

Fixed

  • Fixes jumpy code lens when deleting characters from a line with a Git code lens
  • Fixes #178 - Slight but noticeable keyboard lag with Gitlens
  • Fixes #183 - Remote with same url should only show once
  • Fixes #185 - Wrong relative date shows on mouse hover
  • Fixes issue where using the Refresh command on a GitLens view node refreshed the whole view, rather than just the node
  • Fixes issue where certain commands fail when there is no current branch (rebase, detached HEAD, etc)

[5.7.1] - 2017-10-19

Fixed

  • Fixes #174 - File Blame Annotations No Longer Working (and some other editor-based commands)

[5.7.0] - 2017-10-19

Added

  • Adds Open All Changes (with difftool) command (gitlens.externalDiffAll) - opens all working changes with the configured git difftool — closes #164
    • Also adds the command to the Source Control group context menu
  • Adds gitlens.gitExplorer.autoRefresh setting to specify whether or not to automatically refresh the GitLens view when the repository or the file system changes
  • Adds Enable Automatic Refresh command (gitlens.gitExplorer.setAutoRefreshToOn) to enable the automatic refresh of the GitLens view
  • Adds Disable Automatic Refresh command (gitlens.gitExplorer.setAutoRefreshToOff) to disable the automatic refresh of the GitLens view
  • Adds Show Files in Automatic View command (gitlens.gitExplorer.setFilesLayoutToAuto) to change to an automatic layout for the files in the GitLens view
  • Adds Show Files in List View command (gitlens.gitExplorer.setFilesLayoutToList) to change to a list layout for the files in the GitLens view
  • Adds Show Files in Tree View command (gitlens.gitExplorer.setFilesLayoutToTree) to change to a tree layout for the files in the GitLens view

Changed

  • Renames Directory Compare command (gitlens.diffDirectory) to Compare Directory with Branch...
  • Renames Directory Compare with Previous Commit in quick pick menus to Compare Directory with Previous Commit
  • Renames Directory Compare with Working Tree in quick pick menus to Compare Directory with Working Tree
  • Changes the marketplace keywords for better discoverability

Fixed

  • Fixes #163 - GitLens can cause git locking in the background
  • Fixes issues tracking the active editor in the History View of the GitLens view
  • Fixes issue where the GitLens view would refresh more than once when a file system change was detected
  • Fixes issue where opening commit search could be filled out with #00000000

[5.6.5] - 2017-10-16

Removed

  • Removes gitlens.advanced.gitignore.enabled setting since it usage has been replaced by a tracked file cache

Fixed

  • Fixes issues with tracked files which are ignored via .gitignore not working properly

[5.6.4] - 2017-10-12

Fixed

  • Fixes #168 - Git environment context was missing

[5.6.3] - 2017-10-12

Changed

  • Swaps out Moment.js for date-fns to improve blame annotation performance and to reduce the GitLen bundle size (saves ~400kb)

Fixed

  • Fixes issue where the Toggle File Blame Annotations command (gitlens.toggleFileBlame) wasn't available after a file was saved

[5.6.2] - 2017-10-11

Fixed

  • Fixes issue where Open File command failed for in many instances (for GitUri resources)

[5.6.1] - 2017-10-11

Fixed

  • Fixes issue where diffs for stashed files were often wrong (missing)

[5.6.0] - 2017-10-11

Added

  • Adds changes (diff) hover annotation support to both the gutter and hover file blame annotations
  • Adds gitlens.annotations.file.gutter.hover.changes setting to specify whether or not to provide a changes (diff) hover annotation over the gutter blame annotations
  • Adds gitlens.annotations.file.hover.details setting to specify whether or not to provide a commit details hover annotation over each line
  • Adds gitlens.annotations.file.hover.changes setting to specify whether or not to provide a changes (diff) hover annotation over each line

Changed

  • Changes gitlens.codeLens.customLocationSymbols setting to both include and exclude (using a ! prefix) symbols and therefore is always applied

Removed

  • Removes Custom from the gitlens.codeLens.locations setting as it wasn't really required
  • Removes properties (symbol Property) from being included in the Blocks option of the gitlens.codeLens.locations setting — can be easily re-added by setting "gitlens.codeLens.customLocationSymbols": [ "Property" ] if desired
  • Removes gitlens.annotations.file.hover.wholeLine setting as it didn't really make sense

Fixed

  • Fixes issue where changing gitlens.blame.file.annotationType wouldn't correctly update the blame annotations if they were currently active
  • Fixes issue where isBlameable context could be set incorrectly leading to blame icon showing up on invalid documents

[5.5.0] - 2017-10-09

Added

  • Adds a quick-access command bar to the bottom of the details hover annotations

    Details Blame Annotation (hover)

    • Provides Open Changes, Blame Previous Revision, Open in Remote, and Show More Actions command buttons
  • Adds support for remembering file annotations when switching tabs

  • Adds full GitLens support for file revisions — file & line annotations, commands, etc

Changed

  • Changes gitlens.annotations.file.gutter.hover.wholeLine setting to default to true

Removed

  • Removes peek-style file & blame history explorers - see #66 for more details
    • Removes Open Blame History Explorer command (gitlens.showBlameHistory)
    • Removes Open File History Explorer command (gitlens.showFileHistory)
    • Removes "gitlens.showBlameHistory" & "gitlens.showFileHistory" option from gitlens.codeLens.recentChange.command setting
    • Removes "gitlens.showBlameHistory" & "gitlens.showFileHistory" option from gitlens.codeLens.authors.command setting
    • Removes "gitlens.showBlameHistory" & "gitlens.showFileHistory" option from gitlens.statusBar.command setting
  • Removes gitlens.advanced.toggleWhitespace.enabled setting — as it is no longer required

Fixed

  • Fixes #161 - Remove colors from output of git command calls

[5.4.1] - 2017-10-03

Changed

  • Changes annotation hovers to only add Open in Remote and Show Commit Details commands when applicable — thanks to PR #158 by SpaceEEC (@SpaceEEC)!

Fixed

  • Fixes issue where Changes hover annotation displayed incorrect info when there was no previous commit — thanks to PR #158 by SpaceEEC (@SpaceEEC)!
  • Fixes issue when checking for remotes could return no remotes even if remotes are configured

[5.4.0] - 2017-09-30

Added

  • Adds support for user-defined remote services via gitlens.remotes setting — closes #148
  • Adds Open Changes (with difftool) command (gitlens.externalDiff) - opens the changes of a file or set of files with the configured git difftool — thanks to PR #154 by Chris Kaczor (@ckaczor)!
    • Adds to the source control group and source control resource context menus

[5.3.0] - 2017-09-26

Added

  • Adds new file layouts to the GitLens view
    • auto - automatically switches between displaying files as a tree or list based on the gitlens.gitExplorer.files.threshold setting and the number of files at each nesting level
    • list - displays files as a list
    • tree - displays files as a tree
  • Adds gitlens.gitExplorer.files.layout setting to specify how the GitLens view will display files
  • Adds gitlens.gitExplorer.files.compact setting to specify whether or not to compact (flatten) unnecessary file nesting in the GitLens view
  • Adds gitlens.gitExplorer.files.threshold setting to specify when to switch between displaying files as a tree or list based on the number of files in a nesting level in the GitLens view
  • Adds ${directory} token to the file formatting settings

Changed

  • Changes ${path} token to be the full file path in the file formatting settings

Fixed

  • Fixes #153 - New folders treated as files in "Changed Files" section of the sidebar component

[5.2.0] - 2017-09-23

Added

  • Adds new Changed Files node to the Repository Status node of the GitLens view's Repository View — closes #139
    • Provides a at-a-glance view of all "working" changes
    • Expands to a file-based view of all changed files in the working tree (enabled via "gitlens.insiders": true) and/or all files in all commits ahead of the upstream
  • Adds optional (on by default) working tree status information to the Repository Status node in the GitLens view
  • Adds auto value to gitlens.gitExplorer.view setting - closes #150
  • Adds gitlens.gitExplorer.enabled setting to specify whether or not to show the GitLens view - closes #144
  • Adds gitlens.gitExplorer.includeWorkingTree setting to specify whether or not to include working tree files inside the Repository Status node of the GitLens view
  • Adds gitlens.gitExplorer.statusFileFormat setting to the format of the status of a working or committed file in the GitLens view

Changed

  • Changes the sorting (now alphabetical) of files shown in the GitLens view
  • Changes the default of the gitlens.gitExplorer.view setting to auto
  • Changes the default of the gitlens.gitExplorer.commitFormat setting to add parentheses around the commit id
  • Removes many menu items from editor/title & editor/title/context by default — can be re-enabled via the gitlens.advanced.menus setting

Fixed

  • Fixes #146 - Blame gutter annotation issue when commit contains emoji
  • Fixes an issue when running Open File in Remote with a multi-line selection wasn't properly opening the selection in GitLab — thanks to PR #145 by Amanda Cameron (@AmandaCameron)!
  • Fixes an issue where the gitlens.advanced.menus setting wasn't controlling all the menu items properly

[5.1.0] - 2017-09-15

Added

  • Adds full (multi-line) commit message to the details hover annotations — closes #116
  • Adds an external link icon to the details hover annotations to run the Open Commit in Remote command (gitlens.openCommitInRemote)

Changed

  • Optimizes performance of the providing blame annotations, especially for large files (saw a ~78% improvement on some files)
  • Optimizes date handling (parsing and formatting) for better performance and reduced memory consumption

Removed

  • Removes gitlens.annotations.file.recentChanges.hover.wholeLine setting as it didn't really make sense

Fixed

  • Fixes an issue where stashes with only untracked files would not show in the Stashes node of the GitLens view
  • Fixes an issue where stashes with untracked files would not show its untracked files in the GitLens view

[5.0.0] - 2017-09-12

Added

  • Adds an all-new GitLens 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, Show File History, and Show Commit File Details commands
          • Provides a context menu on each revision (commit) with Open Commit in Remote, Open All Changes, Open All Changes with Working Tree, Open Files, Open Revisions, Copy Commit ID to Clipboard, Copy Commit Message to Clipboard, 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

        • Indicates the direction of the remote (fetch, push, both), remote service (if applicable), and repository path
        • 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, Open All Changes, Open All Changes with Working Tree, Open Files, Open Revisions, Copy Commit ID to Clipboard, Copy Commit Message to Clipboard,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), Open All Changes, Open All Changes with Working Tree, Open Files, Open Revisions, Copy Commit Message to Clipboard, and Refresh commands
        • Provides a context menu on each stashed file with Apply Changes, Open Changes, Open Changes with Working Tree, Open File, Open Revision, Open File in Remote, 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 all-new interactivity to the hover annotations

    Hover Annotations

    • Adds the following command-links to the details hover annotation
      • Clicking the commit id will run the Show Commit Details command (gitlens.showQuickCommitDetails)
    • Adds the following 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 remote services with custom domains — closes #120

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

  • Adds gitlens.blame.ignoreWhitespace setting to specify whether or not to ignore whitespace when comparing revisions during blame operations — closes #138

  • 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 view

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

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

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

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

  • Adds gitlens.gitExplorer.stashFileFormat setting to specify the format of a stashed file in the GitLens 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 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 view - as it's functionality has been folded into the new GitLens 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 an issue where sometimes diffs (via branch name) wouldn't open properly
  • Fixes an issue where remotes are queried more than once on startup

[4.4.3] - 2017-08-30

Fixed

  • Fixes #135 - Full-width characters break gutter annotations (really this time)

[4.4.2] - 2017-08-29

Fixed

  • Fixes #135 - Full-width characters break gutter annotations

[4.4.1] - 2017-08-23

Fixed

  • Fixes #114 - Stylus files makes code lens freak out

[4.4.0] - 2017-08-18

Added

  • Adds a progress indicator to the Toggle File Blame Annotations command (gitlens.toggleFileBlame) icon — pulses while annotations are computed
  • Adds an active state to the Toggle File Blame Annotations command (gitlens.toggleFileBlame) icon — turns orange while the annotations are visible
  • Adds automatic disabling of the current line blame annotations when starting a debug session and will restore them when the debug session ends — can still be manually toggled via the Toggle Line Blame Annotations command (gitlens.toggleLineBlame)

Changed

  • Changes chat links from Gitter to Slack
  • Changes the look of the line separators on the gutter blame annotations
  • Changes the gitlens.advanced.toggleWhitespace.enabled configuration setting to default to false — thanks to the awesome work in vscode by Alexandru Dima (@alexandrudima) this is no longer required!

Removed

  • Removes unneeded gitlens.stashExplorer.enabled configuration setting since users can add or remove views natively now
  • Removes unneeded Toggle Git Stashes Explorer command (gitlens.stashExplorer.toggle) since users can add or remove views natively now
  • Removes the gitlens.theme.annotations.file.hover.separateLines configuration setting

Fixed

  • Fixes jumpiness when opening a diff to a certain line

[4.3.3] - 2017-07-28

Added

  • Adds progress indicator for when computing annotations takes a while

Changed

  • Optimizes performance of the providing blame annotations, especially for large files (saw a 3.5x improvement on some files)

Fixed

  • Fixes #107 - Double-byte characters break blame layout (still requires proper font support)

[4.3.2] - 2017-07-20

Fixed

  • Fixes #118 - GitLens stopped working on latest insiders build — thanks to PR #121 by Johannes Rieken (@jrieken)

[4.3.1] - 2017-07-03

Added

  • Adds gitlens.stashExplorer.enabled setting to specify whether or not to show the Git Stashes view
  • Adds Toggle Git Stashes Explorer command (gitlens.stashExplorer.toggle) - toggles the Git Stashes view on and off

Changed

  • Hides the Git Stashes view by default

Fixed

  • Fixes #108 - Option to remove stash explorer from the main explorer?

[4.3.0] - 2017-07-03

Added

  • Adds Git Stashes view to the Explorer activity
    • Shows all of the stashed changes in the repository
    • Provides toolbar buttons to Stash Changes and Refresh
    • Provides a context menu with Apply Stashed Changes and Delete Stashed Changes commands - both require a confirmation
    • Expand each stash to quickly see the set of files changed, complete with status indicators for adds, changes, renames, and deletes
      • Provides a context menu with Open Changes, Open File, Open Stashed File, Open File in Remote, and Compare File with Working Tree commands

[4.2.0] - 2017-06-27

Added

  • Adds Compare File with Revision... command (gitlens.diffWithRevision) - compares the active file with the selected revision of the same file
  • Adds Open Changed Files command (gitlens.openChangedFiles) to the source control group context menu
  • Adds Close Unchanged Files command (gitlens.closeUnchangedFiles) to the source control group context menu
  • Adds Open File in Remote command (gitlens.openFileInRemote) to the source control resource context menu
  • Adds Compare File with Revision... command (gitlens.diffWithRevision) to the source control resource context menu
  • Adds Show File History command (gitlens.showQuickFileHistory) to the source control resource context menu

Changed

  • Renames Compare File with... command to Compare File with Branch...
  • Renames Open Line Commit in Remote command to Open Commit in Remote
  • Renames Show Line Commit Details command to Show Commit File Details
  • Updates the description of gitlens.blame.line.enabled to be clearer about its behavior
  • Updates the description of gitlens.codeLens.enabled to be clearer about its behavior

Fixed

  • Fixes #103 - Toggle file blame annotations disables line blame annotations if line blame annotations are off by default
  • Fixes another infinite loop in the Close Unchanged Files command

[4.1.4] - 2017-06-25

Changed

  • Optimizes performance of the Compare with Previous commands - also avoids trying to focus a line if we don't have one

Fixed

  • Fixes changes (diff) hover not showing the correct previous line (for real this time)
  • Attempts to fix #99 - undo/redo spawns too many git processes

[4.1.3] - 2017-06-20

Fixed

  • Fixes changes (diff) hover not showing the correct previous line when showing recent changes annotations of the whole-file

[4.1.2] - 2017-06-15

Fixed

  • Fixes #96 - External diff command can be unintentionally triggered

[4.1.1] - 2017-06-13

Added

  • Adds an alt command to the Toggle File Blame Annotations command button, which when you hold down alt and click it will execute the Toggle Recent File Changes Annotations command instead

Fixed

  • Fixes missing Toggle File Blame Annotations command icon

[4.1.0] - 2017-06-13

Added

  • Adds all-new recent changes annotations of the whole-file - annotates and highlights all of lines changed in the most recent commit
  • Adds Toggle Recent File Changes Annotations command (gitlens.toggleFileRecentChanges) - toggles the recent changes annotations on and off
  • Adds ability to press Escape to quickly toggle any whole-file annotations off
  • Improves performance
    • Optimized git output parsing to increase speed and dramatically reduce memory usage
    • Defers diff chunk parsing until it is actually required
  • Adds gitlens.defaultDateFormat setting to specify how all absolute dates will be formatted by default

Fixed

  • Fixes excessive memory usage when parsing diffs
  • Fixes extra newline in multi-line commit messages
  • Fixes (again) #33 - Commit messages can causes markdown formatting in hovers

[4.0.1] - 2017-06-09

Fixed

  • Fixes #87 - Can't open files in remote when using git@ urls (ssh)

[4.0.0] - 2017-06-09

Added

  • Adds all-new, beautiful, highly customizable and themable, file blame annotations
  • Adds all-new configurability and themeability to the current line blame annotations
  • Adds all-new configurability to the status bar blame information
  • Adds all-new configurability over which commands are added to which menus via the gitlens.advanced.menus setting
  • Adds better configurability over where Git code lens will be shown — both by default and per language
  • Adds an all-new changes (diff) hover annotation to the current line - provides instant access to the line's previous version
  • Adds Toggle Line Blame Annotations command (gitlens.toggleLineBlame) - toggles the current line blame annotations on and off
  • Adds Show Line Blame Annotations command (gitlens.showLineBlame) - shows the current line blame annotations
  • Adds Toggle File Blame Annotations command (gitlens.toggleFileBlame) - toggles the file blame annotations on and off
  • Adds Show File Blame Annotations command (gitlens.showFileBlame) - shows the file blame annotations
  • Adds Open File in Remote command (gitlens.openFileInRemote) to the editor/title context menu
  • Adds Open Repo in Remote command (gitlens.openRepoInRemote) to the editor/title context menu
  • Adds gitlens.strings.* settings to allow for the customization of certain strings displayed
  • Adds gitlens.theme.* settings to allow for the theming of certain elements
  • Adds gitlens.advanced.telemetry.enabled settings to explicitly opt-in or out of telemetry, but still ultimately honors the telemetry.enableTelemetry setting
  • Adds ability to suppress most warning messages - which can be re-enabled using the Reset Suppressed Warnings command (gitlens.resetSuppressedWarnings)

Changed

  • (BREAKING) Almost all of the GitLens settings have either been renamed, removed, or otherwise changed - see the README`
  • Changes the positioning of the Git code lens to try to be at the end of any other code lens on the same line
  • Changes the position of the Open File in Remote command (gitlens.openFileInRemote) in the context menus - now in the navigation group
  • Changes the Toggle Git Code Lens command (gitlens.toggleCodeLens) to always toggle the Git code lens on and off
  • Changes the default of gitlens.advanced.toggleWhitespace.enabled back to true, but automatically disables whitespace toggling if whitespace rendering is not on

Removed

  • Removes the on-demand trailing file blame annotations — didn't work out and just ended up with a ton of visual noise
  • Removes Toggle Blame Annotations command (gitlens.toggleBlame) - replaced by the Toggle File Blame Annotations command (gitlens.toggleFileBlame)
  • Removes Show Blame Annotations command (gitlens.showBlame) - replaced by the Show File Blame Annotations command (gitlens.showFileBlame)

Fixed

  • Fixes #81 - Current line annotation feels too sticky
  • Fixes #83 - Calling "close unchanged files" results in no new files being openable
  • Fixes issues with the zone.js monkey patching done by application insights (telemetry) - disables all the monkey patching
  • Fixes issue with Open Branch in Remote & Open Repository in Remote not showing when there are no open editors

[3.6.1] - 2017-06-07

Fixed

  • Fixes issues with the zone.js monkey patching done by application insights (telemetry) - disables all the monkey patching

[3.6.0] - 2017-06-02

Added

  • Adds diff information (the line's previous version) into the active line hover
  • Adds a gitlens.diffWithWorking status bar command option - compares the current line commit with the working tree

Changed

  • Changes the behavior of the Compare File with Working Tree command (gitlens.diffWithWorking) - always does what it says :)
    • Compares the current file with the working tree — if the current file is the working file, it will show a File matches the working tree message
  • Changes the behavior of the Compare File with Previous command (gitlens.diffWithPrevious) - always does what it says :)
    • Compares the current file with the previous commit to that file
  • Changes the behavior of the gitlens.diffWithPrevious status bar command option - compares the current line commit with the previous
  • Renames Compare File with Previous Commit command to Compare File with Previous
  • Renames Compare Line with Previous Commit command to Compare Line Commit with Previous
  • Renames Compare Line with Working Tree command to Compare Line Commit with Working Tree
  • Renames Compare with Previous Commit in quick pick menus to Compare File with Previous
  • Renames Compare with Working Tree in quick pick menus to Compare File with Working Tree

Fixed

  • Fixes #79 - Application insights package breaks GitLens + eslint

[3.5.1] - 2017-05-25

Changed

  • Changes certain code lens actions to be unavailable (unclickable) when the commit referenced is uncommitted - avoids unwanted error messages
  • Debounces more events when tracking the active line to further reduce lag

Fixed

  • Fixes #71 - Blame information is invalid when a file has changed outside of vscode
  • Fixes issue with showing the incorrect blame for versioned files (i.e. files on the left of a diff, etc)

[3.5.0] - 2017-05-24

Added

  • Improves performance
    • Reduces the number of git calls on known "untrackables"
    • Caches many more git commands to reduce git command round-trips and parsing
    • Increases the debounce (delay) on cursor movement to reduce lag when navigating around a file
  • Adds diff information (the line's previous version) into the active line hover when the current line is uncommitted
  • Adds gitlens.statusBar.alignment settings to control the alignment of the status bar — thanks to PR #72 by Zack Schuster (@zackschuster)!
  • Adds Open Branch in Remote command (gitlens.openBranchInRemote) - opens the current branch commits in the supported remote service
  • Adds Open Repository in Remote command (gitlens.openRepoInRemote) - opens the repository in the supported remote service
  • Adds Stash Changes option to stashed changes quick pick menu — no longer hidden behind the "gitlens.insiders": true setting
  • Adds Stash Unstaged Changes option to stashed changes quick pick menu — no longer hidden behind the "gitlens.insiders": true setting
  • Adds Apply Stashed Changes command (gitlens.stashApply) to apply the selected stashed changes to the working tree — no longer hidden behind the "gitlens.insiders": true setting
  • Adds Stash Changes command (gitlens.stashSave) to stash any working tree changes — no longer hidden behind the "gitlens.insiders": true setting
  • Adds support to the Search commits command (gitlens.showCommitSearch) to work without any active editor
  • Adds commit search pre-population — if there is an active editor it will use the commit sha of the current line commit, otherwise it will use the current clipboard

Changed

  • Changes Open File in Remote and Open Line Commit in Remote commands to actually work for everyone (part of their implementation was still behind the gitlens.insiders setting)
  • Changes the active line hover to only show at the beginning and end of a line if gitlens.blame.annotation.activeLine is both
  • Changes alt+f shortcut to alt+/ for the Search commits command (gitlens.showCommitSearch)
  • Changes alt+right on commit details quick pick menu to execute the Compare File with Previous Commit command (gitlens.diffWithPrevious) when a file is selected
  • Changes alt+right on repository status quick pick menu to execute the Compare File with Previous Commit command (gitlens.diffWithPrevious) when a file is selected
  • Refactors command argument passing to allow for future inclusion into the SCM menus

Fixed

  • Fixes #73 - GitLens doesn't work with Chinese filenames
  • Fixes #40 - Encoding issues
    • Given the limitations of the vscode api, I'm unable to fix all the encoding issues, but many of them should now be squashed
    • files.encoding is now honored for the cases where the encoding cannot currently be gleaned
  • Fixes incorrect file selection from the commit details quick pick menu
  • Fixes incorrect command execution when using "gitlens.statusBar.command": "gitlens.showQuickRepoHistory"
  • Fixes a bunch of issues that were revealed by enabling Typescript strict mode

[3.4.9] - 2017-05-03

Added

  • Adds better support for deleted files when choosing Open Changed Files via in quick pick menus - now opens the file revision from the previous commit
  • Adds better support for deleted files when using alt+right arrow shortcut on the commit details quick pick menu - now opens the file revision from the previous commit

Changed

  • Removes deleted files when choosing Open Working Changed Files via in quick pick menus

[3.4.8] - 2017-05-02

Changed

  • Changes display name in the marketplace to Git Lens because of the marketplace search ranking algorithm

[3.4.6] - 2017-05-01

Added

  • Adds better support for deleted files when choosing Open File via in quick pick menus - now opens the file revision from the previous commit
  • Adds better support for deleted files when choosing Open File in Remote via in quick pick menus - now opens the file revision from the previous commit
  • Improves performance by caching the git path to avoid lookups on every git command

Changed

  • Renames gitlens.advanced.codeLens.debug setting to gitlens.codeLens.debug
  • Renames gitlens.advanced.debug setting to gitlens.debug
  • Renames gitlens.output.level setting to gitlens.outputLevel

Fixed

  • Fixes incorrect file selection when showing commit details quick pick menu
  • Fixes timing error on startup

[3.4.5] - 2017-04-13

Added

  • Completely overhauls the GitLens documentation and messaging — make sure to check it out to see all the powerful features GitLen provides!
  • Adds gitlens.blame.annotation.activeLineDarkColor & gitlens.blame.annotation.activeLineLightColor settings to control the colors of the active line blame annotation

Changed

  • Changes Toggle Git Code Lens command to work when gitlens.codeLens.visibility is set to auto (the default)
  • Renames Compare with... command to Compare File with...
  • Renames Compare with Next Commit command to Compare File with Next Commit
  • Renames Compare with Previous Commit command to Compare File with Previous Commit
  • Renames Compare with Previous Commit command to Compare File with Previous Commit
  • Renames Compare with Working Tree command to Compare File with Working Tree

Fixed

  • Fixes issue with Open Commit in Remote not working
  • Fixes issue with many commands missing from the Command Palette

[3.3.3] - 2017-04-10

Fixed

  • Fixes issue with newlines in commit messages in the file/branch/stash history quick pick menus (truncates and adds an ellipse icon)

[3.3.2] - 2017-04-10

Removed

  • Removes gitlens.blame.annotation.characters.* settings since they were added to deal with unicode bugs in a previous version of vscode

Fixed

  • Closes #63 - Switch commit message and author in commit pick list. Also reduces clutter in the commit quick pick menus

[3.3.1] - 2017-04-09

Changed

  • Changes commit search prefixes — no prefix for message search, @ for author, : for file pattern, # for commit id
  • Changes sha terminology to commit id in the UI

Fixed

  • Fixes issues with author searching

[3.3.0] - 2017-04-09

Added

  • Adds Search commits command (gitlens.showCommitSearch) to allow commit searching by message, author, file pattern, or sha
  • Adds alt+f shortcut for the Search commits command (gitlens.showCommitSearch)
  • Adds Show Commit Search command to the branch history quick pick menu
  • Adds Show Stashed Changes command to the repository status quick pick menu
  • Adds a Don't Show Again option to the GitLen update notification

Changed

  • Changes Open x in Remote commands to be no longer hidden behind the gitlens.insiders setting

Fixed

  • Fixes #59 - Context menu shows gitlens commands even if folder/file is not under git

[3.2.1]

Fixed

  • Fixes #57 - No more blank message if diff.tool is missing

[3.2.0]

Added

  • Adds support for single files opened in vscode — you are no longer required to open a folder for GitLens to work

Fixed

  • Fixes #57 - Warn on directory compare when there is no diff tool configured
  • Fixes #58 - Work with git sub-modules
  • Fixes issue with Open * in Remote commands with nested repositories and non-git workspace root folder

[3.1.0]

Added

  • Adds Show Stashed Changes command (gitlens.showQuickStashList) to open a quick pick menu of all the stashed changes
  • Adds insiders Stash Changes option to stashed changes quick pick menu — enabled via "gitlens.insiders": true
  • Adds insiders Stash Unstaged Changes option to stashed changes quick pick menu
  • Adds insiders Apply Stashed Changes command (gitlens.stashApply) to apply the selected stashed changes to the working tree
  • Adds insiders Stash Changes command (gitlens.stashSave) to stash any working tree changes

Fixed

  • Fixes incorrect counts in upstream status

[3.0.5]

Added

  • Adds additional insiders support for GitLab, Bitbucket, and Visual Studio Team Services to the Open x in Remote commands and quick pick menus — enabled via "gitlens.insiders": true
  • Adds insiders line support to Open File in Remote command (gitlens.openFileInRemote)
  • Adds original file name for renamed files to the repository status and commit details quick pick menu

Fixed

  • Fixes #56 - Handle file names with spaces

[3.0.4]

Changed

  • Changes telemetry a bit to reduce noise

Fixed

  • Fixes common telemetry error by switching to non-strict iso dates (since they are only available in later git versions)

[3.0.3]

Added

  • Adds a fallback to work with Git version prior to 2.11.0 — terribly sorry for the inconvenience :(

Fixed

  • Fixes #55 - reverts Git requirement back to 2.2.0
  • Fixes issues with parsing merge commits

[3.0.2]

Changed

  • Changes required Git version to 2.11.0

[3.0.1]

Added

  • Adds basic telemetry — honors the vscode telemetry configuration setting

[3.0.0]

Added

  • Adds insiders support for Open in GitHub to the relevant quick pick menus — enabled via "gitlens.insiders": true
  • Adds insiders Open Line Commit in Remote command (gitlens.openCommitInRemote) to open the current commit in the remote service (currently only GitHub)
  • Adds insiders Open File in Remote command (gitlens.openFileInRemote) to open the current file in the remote service (currently only GitHub)
  • Adds an update notification for feature releases
  • Adds Show Branch History command (gitlens.showQuickBranchHistory) to show the history of the selected branch
  • Adds Show Last Opened Quick Pick command (gitlens.showLastQuickPick) to re-open the previously opened quick pick menu - helps to get back to previous context
  • Adds alt+- shortcut for the Show Last Opened Quick Pick command (gitlens.showLastQuickPick)
  • Adds upstream status information (if available) to the repository status pick pick
  • Adds file status rollup information to the repository status pick pick
  • Adds file status rollup information to the commit details quick pick menu
  • Adds Compare with... (gitlens.diffWithBranch) command to compare working file to another branch (via branch quick pick menu)
  • Adds branch quick pick menu to Directory Compare (gitlens.diffDirectory) command
  • Adds support for gitlens.showQuickFileHistory command execution via code lens to limit results to the code lens block
  • Adds current branch to branch quick pick menu placeholder
  • Adds Show Branch History command to the branch history quick pick menu when showing only limited commits (e.g. starting at a specified commit)
  • Adds Show File History command to the file history quick pick menu when showing only limited commits (e.g. starting at a specified commit)
  • Adds Don't Show Again option to the unsupported git version notification

Changed

  • Changes Show Repository History command to Show Current Branch History
  • Changes Repository History terminology to Branch History

Fixed

  • Fixes issue with gitlens.diffWithPrevious command execution via code lens when the code lens was not at the document/file level
  • Fixes issue where full shas were displayed on the file/blame history explorers
  • Fixes #30 - Diff with Working Tree fails from repo/commit quick pick list if file was renamed (and the commit was before the rename)
  • Fixes various other quick pick menu command issues when a file was renamed
  • Fixes various issues when caching is disabled
  • Fixes issues with parsing commits history
  • Fixes various issues with merge commits

[2.12.2]

Fixed

  • Fixes #50 - excludes container-level code lens from html and vue language files

[2.12.1]

Added

  • Adds gitlens.advanced.codeLens.debug setting to control whether or not to show debug information in code lens

Fixed

  • Fixes issue where gitlens.showQuickRepoHistory command fails to open when there is no active editor

[2.12.0]

Added

  • Adds progress indicator for the gitlens.showQuickFileHistory & gitlens.showQuickRepoHistory quick pick menus
  • Adds paging support to the gitlens.showQuickFileHistory & gitlens.showQuickRepoHistory quick pick menus
    • Adds Show Previous Commits command
    • Adds Show Next Commits command
  • Adds keyboard page navigation via alt+, (previous) & alt+. (next) on the gitlens.showQuickFileHistory & gitlens.showQuickRepoHistory quick pick menus
  • Adds keyboard commit navigation via alt+, (previous) & alt+. (next) on the gitlens.showQuickCommitDetails & gitlens.showQuickCommitFileDetails quick pick menus

Changed

  • Changes behavior of gitlens.showQuickFileHistory & gitlens.showFileHistory to no longer show merge commits
  • Changes gitlens.copyShaToClipboard to copy the full sha, rather than short sha
  • Changes internal tracking to use full sha (rather than short sha)

[2.11.2]

Added

  • Adds gitlens.diffWithNext command to open a diff with the next commit
  • Adds alt+. shortcut for the gitlens.diffWithNext command

Changed

  • Changes shift+alt+p shortcut to alt+, for the gitlens.diffWithPrevious command
  • Changes alt+p shortcut to shift+alt+, for the gitlens.diffLineWithPrevious command

Removed

  • Removes gitlens.toggleCodeLens from Command Palette when not available
  • Removes gitlens.toggleCodeLens shortcut key when not available

Fixed

[2.11.1]

Added

  • Adds blame and active line annotation support to git diff split view (right side)
  • Adds command (compare, copy sha/message, etc) support to git diff split view (right side)

Fixed

  • Fixes intermittent issues when toggling whitespace for blame annotations

[2.11.0]

Added

  • Adds gitlens.showQuickCommitFileDetails command to show a quick pick menu of details for a file commit
  • Adds gitlens.showQuickCommitFileDetails command to code lens
  • Adds gitlens.showQuickCommitFileDetails command to the status bar
  • Adds gitlens.closeUnchangedFiles command to close any editors that don't have uncommitted changes
  • Adds gitlens.openChangedFiles command to open all files that have uncommitted changes
  • Adds Directory Compare (gitlens.diffDirectory) command to open the configured git difftool to compare directory versions
  • Adds Directory Compare with Previous Commit command on the gitlens.showQuickCommitDetails quick pick menu
  • Adds Directory Compare with Working Tree command on the gitlens.showQuickCommitDetails quick pick menu
  • Adds a Changed Files grouping on the gitlens.showQuickCommitDetails quick pick menu
  • Adds a Close Unchanged Files command on the gitlens.showQuickRepoStatus quick pick menu
  • Adds a contextual description to the go back command in quick pick menus

Changed

  • Changes layout of the gitlens.showQuickRepoStatus quick pick menu for better clarity
  • Changes behavior of gitlens.showQuickCommitDetails to show commit a quick pick menu of details for a commit
  • Changes default of gitlens.codeLens.recentChange.command to be gitlens.showQuickCommitFileDetails (though there is no visible behavior change)
  • Renames Open Files to Open Changed Files on the gitlens.showQuickCommitDetails quick pick menu
  • Renames Open Working Files to Open Changed Working Files on the gitlens.showQuickCommitDetails quick pick menu
  • Renames Show Changed Files to Show Commit Details on the gitlens.showQuickCommitFileDetails quick pick menu
  • Renames Open Files to Open Changed Files on the gitlens.showQuickRepoStatus quick pick menu

Fixed

  • Fixes #44 by adding a warning message about Git version requirements
  • Fixes intermittent errors when adding active line annotations
  • Fixes intermittent errors when opening multiple files via quick pick menus

[2.10.1]

Fixed

  • Fixes #43 - File-level code lens isn't using the blame of the whole file as it should
  • Fixes issue with single quotes (') in annotations
  • Fixes output channel logging (also adds more debug information to code lens — when enabled)

[2.10.0]

Added

  • Adds blame and active line annotation support to git diff split view
  • Adds command (compare, copy sha/message, etc) support to git diff split view

Fixed

  • Fixes startup failure if caching was disabled
  • Fixes missing Compare Line with Previous Commit context menu item
  • Fixes #41 - Toggle Blame annotations on compare files page
  • Fixes issue with undo (to a saved state) not causing annotations to reappear properly
  • Attempts to fix #42 - Cursor on Uncommitted message

[2.9.0]

Changed

  • To accommodate the realization that blame information is invalid when a file has unsaved changes, the following behavior changes have been made
    • Status bar blame information will hide
    • Code lens change to a Cannot determine... message and become unclickable
    • Many menu choices and commands will hide

Fixed

  • Fixes #38 - Toggle Blame Annotation button shows even when it isn't valid
  • Fixes #36 - Blame information is invalid when a file has unsaved changes

[2.8.2]

Added

  • Adds gitlens.blame.annotation.dateFormat to specify how absolute commit dates will be shown in the blame annotations
  • Adds gitlens.statusBar.date to specify whether and how the commit date will be shown in the blame status bar
  • Adds gitlens.statusBar.dateFormat to specify how absolute commit dates will be shown in the blame status bar

Fixed

  • Fixes #39 - Add date format options for status bar blame

[2.8.1]

Fixed

  • Fixes issue where *Compare with ** commands fail to open when there is no active editor

[2.8.0]

Added

  • Adds new Open File command on the gitlens.showQuickCommitDetails quick pick menu to open the commit version of the file
  • Adds new Open File command on the gitlens.showQuickCommitDetails quick pick menu to open the commit version of the files
  • Adds alt+left keyboard shortcut in quick pick menus to go back
  • Adds alt+right keyboard shortcut in quick pick menus to execute the currently selected item while keeping the quick pick menu open (in most cases)
    • alt+right keyboard shortcut on commit details file name, will open the commit version of the file

Changed

  • Indents the file statuses on the gitlens.showQuickCommitDetails quick pick menu
  • Renames Open File to Open Working File on the gitlens.showQuickCommitDetails quick pick menu
  • Renames Open File and Open Working Files on the gitlens.showQuickCommitDetails quick pick menu
  • Reorders some quick pick menus

Fixed

  • Fixes #34 - Open file should open the selected version of the file
  • Fixes some issue where some editors opened by the quick pick would not be opened in preview tabs
  • Fixes issue where copy to clipboard commands would fail if there was no active editor
  • Fixes issue where active line annotations would show for opened versioned files
  • Fixes issue where code lens compare commands on opened versioned files would fail

[2.7.1]

Added

  • Adds proper support for multi-line commit messages

Fixed

  • Fixes #33 - Commit message styled as title in popup, when message starts with hash symbol

[2.7.0]

Added

  • Adds file status icons (added, modified, deleted, etc) to the gitlens.showQuickCommitDetails quick pick menu
  • Adds Copy Commit Sha to Clipboard command to commit files quick pick menu
  • Adds Copy Commit Message to Clipboard command to commit files quick pick menu

Changed

  • Changes Show Commit History to Show File History on the gitlens.showQuickCommitDetails quick pick menu
  • Changes Show Previous Commit History to Show Previous File History on the gitlens.showQuickCommitDetails quick pick menu

Fixed

  • Fixes issue with repository status when there are no changes
  • Fixes issue with . showing in the path of quick pick menus
  • Fixes logging to clean up on extension deactivate

[2.6.0]

Added

  • Adds gitlens.showQuickRepoStatus command to show a quick pick menu of files changed including status icons (added, modified, deleted, etc)
  • Adds alt+s shortcut for the gitlens.showQuickRepoStatus command

[2.5.6]

Fixed

  • Fixes #32 - 00000000 Uncommitted changes distracting

[2.5.5]

Fixed

  • Fixes #25 - Blame information isn't updated after git operations (commit, reset, etc)

[2.5.4]

Fixed

  • Fixes extra spacing in annotations

[2.5.3]

Fixed

  • Fixes #27 - Annotations are broken in vscode insider build

[2.5.2]

Added

  • Adds Open File command to gitlens.showQuickCommitDetails quick pick menu
  • Adds Open Files command to gitlens.showQuickCommitDetails quick pick menu
  • Improves performance of git-log operations in gitlens.diffWithPrevious and gitlens.diffWithWorking commands

Changed

  • Changes Not Committed Yet author for uncommitted changes to Uncommitted

Fixed

  • Fixes showing gitlens.showQuickCommitDetails quick pick menu for uncommitted changes — now shows the previous commit details

[2.5.1]

Added

  • Adds gitlens.copyMessageToClipboard command to copy commit message to the clipboard
  • Adds gitlens.copyMessageToClipboard to the editor content menu
  • Adds Copy Commit Message to Clipboard command to gitlens.showQuickCommitDetails quick pick menu

Changed

  • Changes behavior of gitlens.copyShaToClipboard to copy the sha of the most recent commit to the repository if there is no active editor
  • Changes behavior of gitlens.showQuickFileHistory to execute gitlens.showQuickRepoHistory if there is no active editor

Fixed

  • Fixes issue where shortcut keys weren't disabled if GitLens was disabled

[2.5.0]

Added

  • Overhauls the gitlens.showQuickRepoHistory, gitlens.showQuickFileHistory, and gitlens.showQuickCommitDetails quick pick menus
    • Adds Show Repository History command to gitlens.showQuickFileHistory quick pick menu
    • Adds Show Previous Commits History command to gitlens.showQuickCommitDetails quick pick menu
    • Adds Show Commits History command to gitlens.showQuickCommitDetails quick pick menu
    • Adds Copy Commit Sha to Clipboard command to gitlens.showQuickCommitDetails quick pick menu
    • Adds Show Changed Files command to gitlens.showQuickCommitDetails quick pick menu
    • Adds more robust go back navigation in quick pick menus
    • Adds commit message to placeholder text of many quick pick menus
    • Adds icons for some commands
  • Adds gitlens.diffWithPrevious command to the editor content menu
  • Adds gitlens.diffWithWorking command to the editor content menu
  • Adds gitlens.showQuickRepoHistory and gitlens.showQuickCommitDetails commands to code lens
  • Adds gitlens.showQuickRepoHistory and gitlens.showQuickCommitDetails commands to the status bar

Changed

  • Changes the default command of gitlens.codeLens.recentChange.command to gitlens.showQuickCommitDetails
  • Changes the default command of gitlens.statusBar.command to gitlens.showQuickCommitDetails
  • Changes behavior of gitlens.showQuickCommitDetails to show commit commands rather than file set (use Show Changed Files command to get to the file set)
  • Changes gitlens.diffWithPrevious command to behave as gitlens.diffWithWorking if the file has uncommitted changes
  • Renames gitlens.diffWithPrevious command from Diff Commit with Previous to Compare with Previous Commit
  • Renames gitlens.diffLineWithPrevious command from Diff Commit (line) with Previous to Compare Line with Previous Commit
  • Renames gitlens.diffWithWorking command from Diff Commit with Working Tree to Compare with Working Tree
  • Renames gitlens.diffLineWithWorking command from Diff Commit (line) with Working Tree to Compare Line with Working Tree

Fixed

  • Fixes issues with certain git commands not working on Windows
  • Fixes #31 - Disable gitlens if the project does not have .git folder
  • Fixes issue where quick pick menus could fail if there was no active editor
  • Fixes code lens not updating in response to configuration changes

[2.1.1]

Fixed

  • Fixes overzealous active line annotation updating on document changes

[2.1.0]

Added

  • Adds a new GitLens logo and changes all images to svg
  • Adds alt+p shortcut for the gitlens.diffLineWithPrevious command
  • Adds shift+alt+p shortcut for the gitlens.diffWithPrevious command
  • Adds alt+w shortcut for the gitlens.diffLineWithWorking command
  • Adds shift+alt+w shortcut for the gitlens.diffWithWorking command
  • Adds gitlens.copyShaToClipboard command to copy commit sha to the clipboard (#28)
  • Adds gitlens.showQuickCommitDetails command to show a quick pick menu of details for a commit
  • Adds go back choice to gitlens.showQuickCommitDetails, gitlens.showQuickFileHistory, and gitlens.showQuickRepoHistory quick pick menus
  • Adds gitlens.blame.annotation.highlight to specify whether and how to highlight blame annotations (#24)
  • Greatly improves performance of line navigation when either active line annotations or status bar blame is enabled

Fixed

  • Fixes #29 - Commit info tooltip duplicated for current line when blame is enabled
  • Fixes issue where sometimes the commit history shown wasn't complete
  • Fixes issues with gitlens.diffLineWithPrevious and gitlens.diffWithPrevious not following renames properly
  • Fixes issues with gitlens.diffLineWithPrevious and gitlens.diffWithPrevious not always grabbing the correct commit

[2.0.2]

Added

  • Adds auto-enable of whitespace toggling when using font-ligatures because of vscode issue
  • Adds gitlens.blame.annotation.characters.* settings to provide some control over how annotations are displayed

Fixed

  • Fixes #22 - Cannot read property 'sha' of undefined

[2.0.1]

Fixed

  • Fixes #26 - Active line annotation doesn't disappear properly after delete

[2.0.0]

Added

  • Adds gitlens.blame.annotation.activeLine to specify whether and how to show blame annotations on the active line
  • Adds full commit message (rather than just summary) to active line hover if gitlens.blame.annotation.activeLine is not off
  • Adds new trailing blame annotation style — adds annotations after the code lines rather than before
  • Adds gitlens.blame.annotation.message to show the commit message in expanded and trailing blame annotation styles
  • Adds support for relative dates in blame annotations. Use gitlens.blame.annotation.date
  • Re-adds context menu for gitlens.diffLineWithPrevious — since vscode issue
  • Re-adds context menu for gitlens.diffLineWithWorking — since vscode issue

Changed

  • Changes the design of hover annotations — much cleaner now
  • Disables automatic whitespace toggling by default as it is seemingly no longer needed as vscode issue seems fixed. It can be re-enabled with gitlens.advanced.toggleWhitespace.enabled

Fixed

  • Fixes issue where the status bar blame would get stuck switching between editors
  • Fixes issue where code lens aren't updated properly after a file is saved

[1.4.3]

Added

  • Adds some logging to hopefully trap #22 - Cannot read property 'sha' of undefined

Fixed

  • Fixes issue with the latest insiders build (1.9.0-insider f67f87c549) where there is a collision of document schemes

[1.4.2]

Fixed

  • Fixes issue where file history wouldn't compare correctly to working tree if the filename had changed

[1.4.1]

Added

  • Adds gitlens.advanced.gitignore.enabled to enable/disable .gitignore parsing. Addresses #20 - Nested .gitignore files can cause blame to fail with a repo within another repo

[1.4.0]

Added

  • Adds alt+h shortcut for the gitlens.showQuickFileHistory command
  • Adds shift+alt+h shortcut for the gitlens.showQuickRepoHistory command
  • Adds gitlens.advanced.maxQuickHistory to limit the number of quick history entries to show (for better performance); Defaults to 200
  • Adds gitlens.diffLineWithPrevious as alt context menu item for gitlens.diffWithPrevious
  • Adds gitlens.diffLineWithWorking as alt context menu item for gitlens.diffWithWorking
  • Adds gitlens.showFileHistory as alt context menu item for gitlens.showQuickFileHistory

Removed

  • Removes context menu for gitlens.diffLineWithPrevious — since it is now the alt of gitlens.diffWithPrevious
  • Removes context menu for gitlens.diffLineWithWorking — since it is now the alt of gitlens.diffWithWorking
  • Replaces gitlens.menus.fileDiff.enabled and gitlens.menus.lineDiff.enabled with gitlens.menus.diff.enabled — since the switch between file and line diff is now controlled by the alt key

[1.3.1]

Added

  • Adds Diff Commit with Working Tree to the explorer context menu (assuming gitlens.menus.fileDiff.enabled is true)
  • Adds Diff Commit with Working Tree & Diff Commit with Previous to the editor title context menu (assuming gitlens.menus.fileDiff.enabled is true)

Changed

  • Renames Diff commands for better clarity
  • Removes Git from the commands as it feels unnecessary
  • Reorders the context menu commands

[1.3.0]

Added

  • Adds support for blame and history (log) on files opened via compare commands — allows for deep navigation through git history

[1.2.0]

Added

  • Adds compare (working vs previous) options to repository history
  • Adds compare (working vs previous) options to file history

Fixed

  • Fixes issue with repository history compare with commits with multiple files

[1.1.1]

Added

  • Adds logging for tracking #18 - GitLens only displayed for some files

Changed

  • Changes gitlens.showQuickRepoHistory command to run without an open editor (falls back to the folder repository)

[1.1.0]

Added

  • Adds new gitlens.showQuickFileHistory command to show the file history in a quick-pick list (palette)
  • Adds new gitlens.showQuickRepoHistory command to show the repository history in a quick-pick list (palette)
  • Adds gitlens.showQuickFileHistory option to the gitlens.codeLens.recentChange.command, gitlens.codeLens.authors.command, and gitlens.statusBar.command settings

Changed

  • Changes the gitlens.statusBar.command settings default to gitlens.showQuickFileHistory instead of gitlens.toggleBlame

Removed

  • Removes git.viewFileHistory option from the gitlens.codeLens.recentChange.command, gitlens.codeLens.authors.command, and gitlens.statusBar.command settings

[1.0.2]

Fixed

  • Fixes #16 - incorrect 'Unable to find Git' message

[1.0.0]

Added

  • Adds support for git history (log)!
  • Adds support for blame annotations and git commands on file revisions
  • Adds ability to show multiple blame annotation at the same time (one per vscode editor)
  • Adds new gitlens.showFileHistory command to open the history explorer
  • Adds new gitlens.showFileHistory option to the gitlens.codeLens.recentChange.command, gitlens.codeLens.authors.command, and gitlens.statusBar.command settings
  • Adds per-language code lens location customization using the gitlens.codeLens.languageLocations setting
  • Adds new gitlens.diffLineWithPrevious command for line sensitive diffs
  • Adds new gitlens.diffLineWithWorking command for line sensitive diffs
  • Adds gitlens.diffWithPrevious command to the explorer context menu
  • Adds output channel logging, controlled by the gitlens.advanced.output.level setting
  • Improves performance of the code lens support
  • Improves performance (significantly) when only showing code lens at the document level
  • Improves performance of status bar blame support

Changed

  • Switches on-demand code lens to be a global toggle (rather than per file)
  • Complete rewrite of the blame annotation provider to reduce overhead and provide better performance
  • Changes gitlens.diffWithPrevious command to always be file sensitive diffs
  • Changes gitlens.diffWithWorking command to always be file sensitive diffs
  • Removes all debug logging, unless the gitlens.advanced.debug settings it on

Fixed

[0.5.5]

Fixed

  • Fixes another off-by-one issue when diffing with caching

[0.5.4]

Fixed

  • Fixes off-by-one issues with blame annotations without caching and when diffing with a previous version

[0.5.3]

Added

  • Adds better uncommitted hover message in blame annotations
  • Adds more protection for dealing with uncommitted lines

[0.5.2]

Fixed

  • Fixes loading issue on Linux

[0.5.1]

Added

  • Adds blame information in the status bar
  • Add new status bar settings — see Extension Settings for details
  • Adds new gitlens.diffWithPrevious option to the gitlens.codeLens.recentChange.command & gitlens.codeLens.authors.command settings

Changed

  • Renames the gitlens.codeLens.recentChange.command & gitlens.codeLens.authors.command settings options (to align with command names)

Removed

  • Removes gitlens.blame.annotation.useCodeActions setting and behavior

Fixed

  • Fixes Diff with Previous when the selection is uncommitted

[0.3.3]

Fixed

  • Fixes #7 - missing spawn-rx dependency (argh!)

[0.3.2]

Fixed

  • Fixes #7 - missing lodash dependency

[0.3.1]

Added

  • Adds new code lens visibility & location settings — see Extension Settings for details
  • Adds new command to toggle code lens on and off when gitlens.codeLens.visibility is set to ondemand

[0.2.0]

Changed

  • Replaces blame regex parsing with a more robust parser

Fixed

  • Fixes #1 - Support blame on files outside the workspace repository
  • Fixes failures with Diff with Previous command
  • Fixes issues with blame explorer code lens when dealing with previous commits
  • Fixes display issues with compact blame annotations (now skips blank lines)

[0.1.3]

Added

  • 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 Extension Settings for details

[0.0.7]

Added

  • Adds .gitignore checks to reduce the number of blame calls

Fixed

  • Fixes #4 - Absolute paths fail on Windows due to backslash (Really!)
  • Fixes #5 - Finding first non-white-space fails sometimes

[0.0.6]

Added

  • Adds attempt to scroll to the correct position when opening a diff

Fixed

  • Fixes #2 - [request] Provide some debug info when things fail
  • Fixes #4 - Absolute paths fail on Windows due to backslash

[0.0.5]

Changed

  • Removes code lens from fields and single-line properties to reduce visual noise
  • Automatically turns off blame only when required now

Fixed

  • Fixes issues where filename changes in history would cause diffs to fails
  • Fixes some issues with uncommitted blames

[0.0.4]

Added

  • Candidate for preview release on the vscode marketplace.

[0.0.1]

Added

  • Initial release but still heavily a work in progress.