Releases: gitkraken/vscode-gitlens
v8.3.2
Fixed
- Fixes #366 - Running a GitLens command from a keybinding fails (more cases)
- Fixes many issues where commands wouldn't work if the active file wasn't part of an open repository — now GitLens will try to find the best repository otherwise it will open a repository quick pick menu if there is more than one
v8.3.1
Added
- Adds the ability to control where the GitLens, GitLens History, and GitLens Results explorers are shown 🎉 — closes #213, #377
- Adds
gitlens.gitExplorer.location
setting to the interactive settings editor to specify where the GitLens explorer is shown — either in the Explorer or Source Control view - Adds
gitlens.historyExplorer.location
setting to the interactive settings editor to specify where the GitLens History explorer is shown — either in the Explorer or Source Control view - Adds
gitlens.resultsExplorer.location
setting to the interactive settings editor to specify where the GitLens Results explorer is shown — either in the Explorer or Source Control view
- Adds
Changed
- Renames GitLens Results view to GitLens Results explorer for consistency
Fixed
- Fixes #372 - Wrong URL to VSTS work item when using hash work item id in commit
v8.3.0
Added
-
Adds user-defined modes for quickly toggling between sets of settings
-
Adds Switch Mode command (
gitlens.switchMode
) to quickly switch the active GitLens mode -
Adds a built-in Zen mode which for a zen-like experience, disables many visual features
- Adds Toggle Zen Mode command (
gitlens.toggleZenMode
) to toggle Zen mode
- Adds Toggle Zen Mode command (
-
Adds a built-in Review mode which for reviewing code, enables many visual features
- Adds Toggle Review Mode command (
gitlens.toggleReviewMode
) to toggle Review mode
- Adds Toggle Review Mode command (
-
Adds the active mode to the status bar, optional (on by default)
- Adds
gitlens.mode.statusBar.enabled
setting to specify whether to provide the active GitLens mode on the status bar - Adds
gitlens.mode.statusBar.alignment
setting to specify the active GitLens mode alignment in the status bar
- Adds
-
Adds modes settings (
gitlens.mode.*
) to the interactive settings editor -
Adds
gitlens.mode.active
settings to specify the active GitLens mode, if any -
Adds
gitlens.modes
setting to specify the user-defined GitLens modes
-
-
Adds an icon for the Compare File with Previous Revision command (
gitlens.diffWithPrevious
) and moves it into the editor toolbar -
Adds an icon for the Compare File with Next Revision command (
gitlens.diffWithNext
) and moves it into the editor toolbar -
Adds menu settings (
gitlens.menus.*
) to the interactive settings editor -
Adds a display mode dropdown at the top of the interactive settings editor to reduce complexity
- Adds
gitlens.settings.mode
setting to specify the display mode of the interactive settings editor
- Adds
-
Adds a tree layout option to tags in the GitLens explorer — closes #358
-
Adds Show GitLens Explorer (
gitlens.showGitExplorer
) command — shows/expands the GitLens explorer -
Adds Show History Explorer (
gitlens.showHistoryExplorer
) command — shows/expands the GitLens History explorer -
Adds Show Results Explorer (
gitlens.showResultsExplorer
) command — shows/expands the GitLens Results explorer
Changed
- Moves the GitLens explorer, GitLens History explorer, and GitLens Results explorer under the Source Control activity (in the sidebar) 🎉 — closes #213
- Showing results in the GitLens Results explorer now properly shows the explorer first
- Renames Compare Line Revision with Previous command (
gitlens.diffLineWithPrevious
) to Compare Commit with Previous for consistency with other commands - Renames Compare Line Revision with Working File command (
gitlens.diffLineWithWorking
) to Compare Commit with Working File for consistency with other commands - Renames Show Commit File Details command (
gitlens.showQuickCommitFileDetails
) to Show Commit Details for consistency with other commands - Reworks GitLens menu contributions and configuration — see menu settings above
- Renames the
gitlens.advanced.menus
setting togitlens.menus
- Renames the
- Uses the new Webview API for better interactions and behavior with the interactive settings editor and welcome page
Fixed
- Fixes #366 - Running a GitLens command from a keybinding fails
- Fixes #155 - Navigating file diffs with
alt+,
gets stuck - Fixes #359 - Show changes of an added file in the first commit
- Fixes bronze typo thanks to PR #361 by Cory Forsyth (@bantic)
- Fixes individually typo thanks to PR #364 by Brett Cannon (@brettcannon)
- Fixes issue where comparing previous revision during a merge/rebase conflict failed to show the correct contents
- Fixes issue with the current line blame toggle not working when current line blame starts disabled
- Fixes various issues when not on a branch
v8.2.4
v8.2.3
v8.2.2
Added
- Adds an indicator to the GitLens explorer's branch history to mark the the tips of all branches
- Adds
gitlens.advanced.blame.customArguments
setting to specify additional arguments to pass to thegit blame
command — closes #337
Changed
- Changes the author name to "You" when appropriate — closes #341
Fixed
- Fixes #345 - Custom date formats don't work in the GitLens view
- Fixes #336 - Default Settings Get Added Automatically
- Fixes #342 - GitLens crashes while debugging with Chrome Debugger a larger project
- Fixes #343 - Can't show blame when VSCode starts on branch without upstream
- Fixes issue where username and/or password in a remote urls could be shown
v8.2.1
Added
- Adds better logging for failed git commands
Changed
- Marks temporary files (used when showing comparisions with previous revisions) as read-only to help avoid accidental edits/saving
Fixed
- Fixes #320 - Stashes with a single untracked file created with "stash push" aren't shown in the GitLens explorer
- Fixes #331 - Code lens shows on every import in Python
- Fixes issues where quick pick menu progress indicators will get stuck in some cases because of a vscode api change in Microsoft/vscode#46102
v8.2.0
Added
-
Adds new stand-alone GitLens History explorer to visualize the history of the current file — undocked version of the GitLens explorer history view
-
Adds richer tooltips to the GitLens explorer and GitLens Results view, and richer working tree and upstream status to the GitLens explorer
-
Adds an indicator to the GitLens explorer's branch history to mark the synchronization point between the local and remote branch (if available)
-
Adds ability to easily switch between relative and absolute dates via the
gitlens.defaultDateStyle
settings — closes #312- Adds
${agoOrDate}
and${authorAgoOrDate}
tokens togitlens.blame.format
,gitlens.currentLine.format
,gitlens.explorers.commitFormat
,gitlens.explorers.stashFormat
, andgitlens.statusBar.format
settings which will honor thegitlens.defaultDateStyle
setting
- Adds
-
Adds annotation format settings (
gitlens.*.format
) to the interactive settings editor -
Adds new
gitlens.currentLine.scrollable
setting to specify whether the current line blame annotation can be scrolled into view when it is outside the viewport — closes #149, #290, #265 -
Adds
gitlens.statusBar.reduceFlicker
setting to the interactive settings editor -
Adds a one-time notification on startup if the
alt-based
keyboard shortcuts are in use, with options to easily switch to another set -
Adds Copy Commit ID to Clipboard (
gitlens.copyShaToClipboard
) command to changed file nodes in the GitLens explorer and GitLens Results view -
Adds Copy Commit Message to Clipboard (
gitlens.copyMessageToClipboard
) command to changed file nodes in the GitLens explorer and GitLens Results view
Changed
- Moves Keyboard Settings to the General section of the interactive settings editor
- Renames Compare with Index (HEAD) (
gitlens.explorers.compareWithHead
) command to Compare with HEAD — closes #309 - Renames Compare Index (HEAD) with Branch or Tag... (
gitlens.diffHeadWithBranch
) command to Compare HEAD with Branch or Tag... — closes #309
Removed
- Removes the unnecessary Show File Blame Annotations (
gitlens.showFileBlame
) command — Toggle File Blame Annotations (gitlens.toggleFileBlame
) provides similar functionality - Removes the unnecessary Show Line Blame Annotations (
gitlens.showLineBlame
) command — Toggle Line Blame Annotations (gitlens.toggleLineBlame
) provides similar functionality - Removes Open Working File (
gitlens.openWorkingFile
) command from the editor toolbar when the built-in Open File command is visible - Removes Compare with HEAD (
gitlens.explorers.compareWithHead
), Compare with Working Tree (gitlens.explorers.compareWithWorking
), and Compare Compare Ancestry with Working Tree (gitlens.explorers.compareAncestryWithWorking
) commands from the current branch since comparing a branch with itself doesn't make sense — closes #309
Fixed
- Fixes #314 - Toggle line annotation doesn't work properly
- Fixes #310 - "via Terminal" commands need quoting around work directory
- Fixes issues with the active repository in the GitLens explorer failed to update properly
- Fixes issues with Open File, Open Revision, and Show File History commands and images and other binary files
- Fixes issues preventing nodes in the GitLens explorer from expanding properly in certain cases
- Fixes issues when refreshing nodes in the GitLens Results view
v8.1.1
v8.1.0
Added
-
Adds automatic issue linking to Bitbucket, GitHub, GitLab, and Visual Studio Team Services for commit messages in hovers
-
Adds support to toggle annotations for each file individually or for all files at once — closes #289
- Adds new controls the interactive settings editor (Open Settings from the Command Palette) to configure this new behavior
- Adds
gitlens.blame.toggleMode
setting to specify how the gutter blame annotations will be toggled, per file or window - Adds
gitlens.heatmap.toggleMode
setting to specify how the gutter heatmap annotations will be toggled, per file or window - Adds
gitlens.recentChanges.toggleMode
setting to specify how the recently changed lines annotations will be toggled, per file or window
-
Adds icons to remotes in the GitLens explorer based on the remote service provider
-
Adds multi-cursor support to current line annotations — closes #291
Changed
- Renames Compare Selected Ancestor with Working Tree command to Compare Ancestry with Working Tree and removes the need to select a branch first, since all compares are performed with the working tree — closes #279
Removed
- Removes tag icons from the GitLens explorer
Fixed
- Fixes #294 - Keyboard shortcuts will now default to chorded to avoid conflicts. Only affects new installs or if you remove the
gitlens.keymap
setting - Fixes issue where Recent Changes annotations weren't restored properly on tab switch
- Fixes quick pick menu issue with commits with newlines in the message