Reading GitLab account settings

已回答

We would like to read GitLab account settings from Version Control → GitLab in our plugin's custom new project wizard steps. We already read the GitHub account settings using

ApplicationManager.getApplication().getService(GHAccountManager::class.java)

 Is there a similar way to read the GitLab account settings?

 

0

Hi,

Yes, please use org.jetbrains.plugins.gitlab.authentication.accounts.PersistentGitLabAccountManager.

Note that you must add a dependency on the org.jetbrains.plugins.gitlab plugin:
https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html

0

请先登录再写评论。