Feature Request: Default platform setting
Malaber opened this issue · 6 comments
Hey, first of all I love using GitLink!
It would be nice to set a default Platform as I have to set it to GitLab on every new project I open the first time (which is quite a lot sadly)
Even cooler would be an option to set the default per folder, as I keep my locally cloned repositories separated by git server.
Thanks for considering this.
Same, we recently moved to GitLab and having to change that for each repo is annoying...
In the plugin settings (Settings -> Tools -> GitLink -> Domain Registry
) you can register custom domains against each host. If you add the domain your using for GitLab, it will automatically detect GitLab
as the host when opening a new project.
Oh, yeah, I found that afterwards but forgot to close this thread. Thanks for the help, maybe others will find it better now.
Also: it does not seem to sync to other IDEs via the official settings sync. (I had to register our gitlab in every IDE manually) This is really no big deal, but maybe that can be changed?
Yeah, I noticed I was using 3.3.6 from the IntelliJ Marketplace instead of manually installing the latest version...
Move along; nothing to see here.
It's nice to have a domain alias. For example, in case of GitHub I have to use an alias in ~/.ssh/config
:
Host github-work
HostName github.com
IdentityFile ~/.ssh/work
IdentitiesOnly yes
In this case GitLink gives URLs like https://github-work/...
. However, it must be https://github.com/...
.
GitHub always sits in github.com
. I just want GitLink to understand that github-work
in my case is an alias for github.com
.
While there's a workaround for this specific issue, I would still like to be able to set a default configuration that specifies the Platform, Fallback Branch (we're still using master
), and Remote (since we have a large monorepo, I create one local clone from which other I clone others).