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

[Feature] Open Line Link to Line in Repo #597

Open
harisirshadx opened this issue Jan 14, 2025 · 2 comments
Open

[Feature] Open Line Link to Line in Repo #597

harisirshadx opened this issue Jan 14, 2025 · 2 comments
Assignees

Comments

@harisirshadx
Copy link

We should have an option to go from cursor in IDE to Git repo and main/master branch where the code is. This is very useful as we often need to share code selection in main/master with teammates and there isn't a quick way to do this from the IDE.

Current Open Line Commit Link feature takes us to commit view and doesn't filter on the line.

@zielu
Copy link
Owner

zielu commented Jan 14, 2025

Try Open File Link - it should do what you expect. It matters if your current branch has a remote branch or not. If it does, that branch is opened, if it's not then commit link is.

@harisirshadx
Copy link
Author

Can we have an option to set a default branch as main/master/etc so that even if we are in a local branch, Open File Link should open the code in default branch? I have seen this feature in other tools--perhaps it was Github extension.

@zielu zielu moved this to Ready in Development status 2025 Jan 25, 2025
@zielu zielu moved this from Ready to In progress in Development status 2025 Feb 3, 2025
@zielu zielu self-assigned this Feb 3, 2025
@zielu zielu moved this from In progress to In review in Development status 2025 Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In review
Development

No branches or pull requests

2 participants