Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Default platform setting #276

Open
Malaber opened this issue Jan 19, 2023 · 6 comments
Open

Feature Request: Default platform setting #276

Malaber opened this issue Jan 19, 2023 · 6 comments

Comments

@Malaber
Copy link

Malaber commented Jan 19, 2023

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.

@dwightmulcahy
Copy link

Same, we recently moved to GitLab and having to change that for each repo is annoying...

@ben-gibson
Copy link
Owner

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.

@Malaber
Copy link
Author

Malaber commented Feb 9, 2023

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?

@dwightmulcahy
Copy link

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.

@gelin
Copy link

gelin commented Mar 29, 2023

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.

@noel-yap
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants