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

Add Issue linking by branch name (Optional) #499

Closed
shiipou opened this issue Apr 15, 2021 · 3 comments
Closed

Add Issue linking by branch name (Optional) #499

shiipou opened this issue Apr 15, 2021 · 3 comments
Assignees
Labels
feature request Feature request
Milestone

Comments

@shiipou
Copy link

shiipou commented Apr 15, 2021

Describe the feature that you'd like
On all my repo in my organization, issue linking is made by branch name. This is the case for a lot of people, so I post my idea here :
It can be really useful to automatically link any commit of a branch to an issue by regex.
(It can be done by automatically suffix the commit message by #18)

I hope this idea can help many people to became a lot more productive.

Additional context (optional)
Example :
image
image

@shiipou shiipou added the feature request Feature request label Apr 15, 2021
@mhutchie
Copy link
Owner

Hi @shiipou,

This would be a great way to extend the existing Issue Linking functionality! I’ll include it in the next release.

@mhutchie mhutchie added this to the v1.31.0 milestone Apr 15, 2021
@shiipou
Copy link
Author

shiipou commented Apr 15, 2021

Yes really useful I think, thanks you.
For the moment, I just use a custom script in the commit-msg in each of my .git local repo.

mhutchie added a commit that referenced this issue Apr 18, 2021
@mhutchie
Copy link
Owner

After experimenting with a variety of implementation options that all achieved the core capability of this feature request, I settled on a new "View Issue" action on the Branch & Remote Branch right-click context menu's. There were benefit's and disadvantages to each option, but ultimately I felt the newly implemented solution made the best net trade-offs from both user experience & implementation perspectives.

This will be available in v1.31.0.

If you'd like to use it before the next release, you can download v1.31.0-beta.1, and install it following the instructions provided here.

homsai pushed a commit to homsai/vscode-git-graph that referenced this issue Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request
Projects
None yet
Development

No branches or pull requests

2 participants