ben-gibson / GitLink

A Jetbrains plugin that opens a local file under Git version control in its remote host using the default browser.
https://plugins.jetbrains.com/plugin/8183-gitlink
MIT License
728 stars 59 forks source link

Feature reuqest: template support #259

Open labuladong opened 1 year ago

labuladong commented 1 year ago

Thanks for this excellent plugin! I wonder if we can add a feature that allows users to copy links with templates.

For example, if I'd like to copy links in markdown format, I could set this template: [${file.name}](${git-link}).

itzik-bd commented 1 year ago

I also think this can be beneficial! Would love to work on that feature, and contribute 👨‍💻

This can be a settings under the Advanced settings section with a dropdown of predefined templates, or custom template: image

Sjord commented 1 year ago

I also would like to be able to copy markdown links. Whether that is through templates or not doesn't matter to me.

ben-gibson commented 1 year ago

You should be able to copy markdown links already

Screenshot 2023-03-21 at 09 36 48