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 option to open master branch link #22

Closed
itaditya opened this issue Mar 15, 2020 · 1 comment
Closed

Add option to open master branch link #22

itaditya opened this issue Mar 15, 2020 · 1 comment

Comments

@itaditya
Copy link

itaditya commented Mar 15, 2020

Hey my usecase for this plugin is that somebody wants url for a file and I'm in my editor so I can CMD + P the file and copy its link. However mostly I'm in a different branch and they won't have my branch so I have to manually change the branch name from the link to master. If in the menu there was option to Copy Online Link for master then that would be really useful.

@qinezh
Copy link
Owner

qinezh commented Mar 26, 2020

That would cause extra step to copy the link for most user scenarios, if there is an option before the copy. I would prefer to make the extension handy for most cases, instead of full functionalities.

And the request is also a little bit tricky, as the file from your branch and master branch might be different and the line number of your selection would be inaccurate and unexpected.

@qinezh qinezh closed this as completed Apr 8, 2020
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

No branches or pull requests

2 participants