Add setting to disable blame editor decoration preview on hover#283573
Merged
Add setting to disable blame editor decoration preview on hover#283573
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a new boolean configuration setting git.blame.editorDecoration.disablePreview to allow users to disable the hover preview that appears when hovering over blame editor decorations. This addresses issue #241388 by giving users control over whether the hover provider is registered.
Key changes:
- Added configuration option to disable blame decoration hover preview
- Updated configuration change handler to respond to the new setting
- Modified hover provider registration to respect the new setting
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| extensions/git/src/blame.ts | Added logic to check disablePreview setting before registering hover provider and added configuration change listener for the new setting |
| extensions/git/package.json | Registered new git.blame.editorDecoration.disablePreview boolean setting with default value of false |
| extensions/git/package.nls.json | Added localization string for the new setting description |
3 tasks
Contributor
|
@dmitrivMS I've opened a new pull request, #283578, to work on those changes. Once the pull request is ready, I'll request review from you. |
…orDecoration settings Co-authored-by: dmitrivMS <9581278+dmitrivMS@users.noreply.github.com>
[WIP] Update to disable blame editor decoration preview setting
lszomoru
approved these changes
Dec 16, 2025
Member
|
@dmitrivMS, thanks! I have adjusted the setting name, but otherwise it looks good. |
hediet
approved these changes
Dec 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #241388