Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow builtin VSCode behavior by respecting git.showInlineOpenFileAction #6539

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

alexr00
Copy link
Member

@alexr00 alexr00 commented Dec 13, 2024

Fixes #6515

@alexr00 alexr00 self-assigned this Dec 13, 2024
@alexr00 alexr00 enabled auto-merge (squash) December 13, 2024 15:43
@vs-code-engineering vs-code-engineering bot added this to the January 2025 milestone Dec 13, 2024
@alexr00 alexr00 merged commit 1bcdee4 into main Dec 13, 2024
3 checks passed
@alexr00 alexr00 deleted the alexr00/issue6515 branch December 13, 2024 16:20
@@ -2435,7 +2435,7 @@
{
"command": "review.openFile",
"group": "inline@0",
"when": "openDiffOnClick && view == prStatus:github && viewItem =~ /filechange(?!:DELETE)/"
"when": "openDiffOnClick && view == prStatus:github && viewItem =~ /filechange(?!:DELETE)/ && config.git.showInlineOpenFileAction"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this change! Should this also be added to pr.openDiffView to hide that button when configured to false?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good reminder, thank you. #6552

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Follow builtin VSCode behavior by respecting git.showInlineOpenFileAction
3 participants