Skip to content

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 #17

@danielweck

Description

@danielweck

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/differentmatt/vscode-copy-github-url/blob/ad85a468eb8f1b05979591335ba391c58abeb5a7/src/main.js#L6-L8

const parseConfig = require('parse-git-config')
const path = require('path')
module.exports = {

...and to show src/main.js in VSCode with the code selection line 6-8 (extracted from the URL #L6-L8).

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions