vscode-gitlink icon indicating copy to clipboard operation
vscode-gitlink copied to clipboard

Feature Request: link and selected text to Markdown format

Open huyz opened this issue 2 years ago • 1 comments

Like https://github.com/kawamataryo/copy-git-link for JetBrains, it would be nice if there would be an option to generate markdown that looks like this (code snippet included if text is selected):

[/somepackage/SomeClass.java#L42-L44](https://github.com/huyz/myrepo/blob/67b33efca188/somepackage/SomeClass.java#L42-L44)
```java
    public void setLast_name(String last_name) {
        this.last_name = last_name;
    }
```

huyz avatar Jan 18 '24 10:01 huyz

Like https://github.com/kawamataryo/copy-git-link for JetBrains, it would be nice if there would be an option to generate markdown that looks like this (code snippet included if text is selected):

[/somepackage/SomeClass.java#L42-L44](https://github.com/huyz/myrepo/blob/67b33efca188/somepackage/SomeClass.java#L42-L44)
```java
    public void setLast_name(String last_name) {
        this.last_name = last_name;
    }

很棒的想法,利于CR,我支持了下。

https://marketplace.visualstudio.com/items?itemName=AlanHe.cn-alanhe-gitlink

alanhe421 avatar Mar 13 '25 03:03 alanhe421