tiriplicamihai / vscode-github-blamer

Visual Studio Code extension for quickly accessing and copying the blame links.
3 stars 0 forks source link

Feature request: inverse operation, start with a GitHub URL which contains hash line number(s), and open the file in VSCode at the designated line / code selection #1

Open danielweck opened 4 years ago

danielweck commented 4 years ago

Hello, great extension, thank you! Very useful for code peer reviews over Slack / instant messaging, to exchange URLs whilst working locally from VSCode. However the inverse functionality would be very useful too.

For example I would like to be able to copy such URL: https://github.com/tiriplicamihai/vscode-github-blamer/blob/6496f50be6d73a22f160e2b831fd5cf4d815e03a/src/extension.ts#L8-L10

https://github.com/tiriplicamihai/vscode-github-blamer/blob/6496f50be6d73a22f160e2b831fd5cf4d815e03a/src/extension.ts#L8-L10

...and to show src/extension.ts in VSCode with the code selection line 8-10 (extracted from the URL #L8-L10).

Any thoughts?

tiriplicamihai commented 4 years ago

@danielweck thank you for using the extension! This sounds like a very good idea! Do you have time to work on it? I think I can schedule some work on this request this weekend or the next one.