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
667 stars 58 forks source link

Integrating with BitBucket server #327

Open ApeachM opened 1 month ago

ApeachM commented 1 month ago

I am using the bitbucket server for developing the product. However, the returned link is not correct from the plugin in JetBrains IDE.

returned link from GitLink: https://dev.company-name.com/projects/scm/repos/{PROJECT_KEY in lowercase?}/browse/{FILE_PATH}?at=4f05127868f8eba684e590ec95cf1fc948771b5d#36-36

correct link: https://dev.company-name.com:12354/projects/{PROJECT_KEY}/repos/{PROJECT_NAME}/browse/{FILE_PATH}?at=4f05127868f8eba684e590ec95cf1fc948771b5d#36-36

First of all, the port is ignored. And I don't know the meaning of scm. How can I use GitLink? Your tool is pretty cool which I have used in GitHub. I am very sorry not to use it for my job.

Thank you very much.

ben-gibson commented 1 month ago

What's the output of git remote -v in your repo?