mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
[vcs/gh/gl] Add share project actions to VCS toolwindow on empty repo (IJPL-180514)
GitOrigin-RevId: e4d99c6360b3aef316c382b00b7132a72c9c3586
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e49b44c1f4
commit
43e22411b0
@@ -17,5 +17,8 @@
|
||||
|
||||
<extensions defaultExtensionNs="com.intellij">
|
||||
<github.ghShareProjectCompatibilityExtension implementation="com.intellij.vcs.github.git.share.GHShareProjectUtilCompatExtension"/>
|
||||
<openapi.vcs.changes.ui.shareProjectAction
|
||||
implementation="com.intellij.vcs.github.git.share.GithubShareActionProvider"
|
||||
order="first"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
@@ -0,0 +1,14 @@
|
||||
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.vcs.github.git.share
|
||||
|
||||
import com.intellij.openapi.actionSystem.ActionManager
|
||||
import com.intellij.openapi.actionSystem.AnAction
|
||||
import com.intellij.openapi.vcs.changes.ui.ShareProjectActionProvider
|
||||
import org.jetbrains.annotations.Nls
|
||||
import org.jetbrains.plugins.github.i18n.GithubBundle
|
||||
|
||||
internal class GithubShareActionProvider : ShareProjectActionProvider {
|
||||
override val hostServiceName: @Nls String = GithubBundle.message("settings.configurable.display.name")
|
||||
override val action: AnAction
|
||||
get() = ActionManager.getInstance().getAction("Github.Share")
|
||||
}
|
||||
Reference in New Issue
Block a user