mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[devkit] Resolve action IDs for Activate$ToolwindowID$ToolWindow (IJPL-165055)
remove suppressions GitOrigin-RevId: 98ae416120a3da1ef1de1567518e9e5af7c1eb5e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
518f9c1879
commit
9428900cd7
-1
@@ -123,7 +123,6 @@ abstract class OnboardingTourLessonBase(id: String) : CommonLogicForOnboardingTo
|
||||
openProjectViewTask = taskId
|
||||
var projectDirExpanded = false
|
||||
|
||||
@Suppress("InjectedReferences", "UnresolvedPluginConfigReference") // todo IJPL-165055
|
||||
text(JavaLessonsBundle.message("java.onboarding.project.view.description",
|
||||
action("ActivateProjectToolWindow")))
|
||||
text(JavaLessonsBundle.message("java.onboarding.balloon.project.view"),
|
||||
|
||||
@@ -2594,7 +2594,6 @@ private fun getActivateToolWindowVKsMask(): Int {
|
||||
return 0
|
||||
}
|
||||
|
||||
@Suppress("UnresolvedPluginConfigReference") // todo IJPL-165055
|
||||
val baseShortcut = KeymapManager.getInstance().activeKeymap.getShortcuts("ActivateProjectToolWindow")
|
||||
|
||||
@Suppress("DEPRECATION")
|
||||
|
||||
@@ -208,7 +208,6 @@ object GitLessonsUtil {
|
||||
fun TaskContext.showWarningIfGitWindowClosed(restoreTaskWhenResolved: Boolean = false) {
|
||||
showWarningIfToolWindowClosed(ToolWindowId.VCS,
|
||||
GitLessonsBundle.message("git.window.closed.warning",
|
||||
@Suppress("UnresolvedPluginConfigReference", "InjectedReferences") // todo IJPL-165055
|
||||
action("ActivateVersionControlToolWindow"), strong("Git")),
|
||||
restoreTaskWhenResolved)
|
||||
}
|
||||
@@ -309,7 +308,7 @@ object GitLessonsUtil {
|
||||
ToolWindowManager.getInstance(project).getToolWindow(ToolWindowId.VCS)?.isVisible == true
|
||||
}
|
||||
|
||||
test { @Suppress("InjectedReferences", "UnresolvedPluginConfigReference") actions("ActivateVersionControlToolWindow") } // todo IJPL-165055
|
||||
test { actions("ActivateVersionControlToolWindow") }
|
||||
}
|
||||
|
||||
fun TaskTestContext.clickChangeElement(partOfText: String) {
|
||||
|
||||
@@ -192,7 +192,6 @@ class GitCommitLesson : GitLesson("Git.Commit", GitLessonsBundle.message("git.co
|
||||
|
||||
highlightToolWindowStripe(ToolWindowId.VCS)
|
||||
|
||||
@Suppress("UnresolvedPluginConfigReference", "InjectedReferences") // todo IJPL-165055
|
||||
task("ActivateVersionControlToolWindow") {
|
||||
openGitWindow(GitLessonsBundle.message("git.commit.open.git.window", action(it),
|
||||
icon(AllIcons.Toolwindows.ToolWindowChanges),
|
||||
|
||||
@@ -75,7 +75,6 @@ class GitFeatureBranchWorkflowLesson : GitLesson("Git.BasicWorkflow", GitLessons
|
||||
override val lessonContent: LessonContext.() -> Unit = {
|
||||
highlightToolWindowStripe(ToolWindowId.VCS)
|
||||
|
||||
@Suppress("UnresolvedPluginConfigReference", "InjectedReferences") // todo IJPL-165055
|
||||
task("ActivateVersionControlToolWindow") {
|
||||
val gitWindowName = GitBundle.message("git4idea.vcs.name")
|
||||
text(GitLessonsBundle.message("git.feature.branch.introduction.1", strong(branchName),
|
||||
|
||||
@@ -57,7 +57,6 @@ class GitInteractiveRebaseLesson : GitLesson("Git.InteractiveRebase", GitLessons
|
||||
override val lessonContent: LessonContext.() -> Unit = {
|
||||
highlightToolWindowStripe(ToolWindowId.VCS)
|
||||
|
||||
@Suppress("UnresolvedPluginConfigReference", "InjectedReferences") // todo IJPL-165055
|
||||
task("ActivateVersionControlToolWindow") {
|
||||
openGitWindow(GitLessonsBundle.message("git.interactive.rebase.open.git.window", action(it),
|
||||
strong(GitBundle.message("git4idea.vcs.name"))))
|
||||
|
||||
@@ -48,7 +48,6 @@ class GitProjectHistoryLesson : GitLesson("Git.ProjectHistory", GitLessonsBundle
|
||||
override val lessonContent: LessonContext.() -> Unit = {
|
||||
highlightToolWindowStripe(ToolWindowId.VCS)
|
||||
|
||||
@Suppress("UnresolvedPluginConfigReference", "InjectedReferences") // todo IJPL-165055
|
||||
task("ActivateVersionControlToolWindow") {
|
||||
openGitWindow(GitLessonsBundle.message("git.project.history.open.git.window", action(it),
|
||||
icon(AllIcons.Toolwindows.ToolWindowChanges),
|
||||
|
||||
-2
@@ -49,9 +49,7 @@ abstract class FileStructureLesson
|
||||
test { invokeActionViaShortcut("ENTER") }
|
||||
}
|
||||
// There is no Structure tool window in the PyCharm Edu. So added this check.
|
||||
@Suppress("UnresolvedPluginConfigReference") // todo IJPL-165055
|
||||
if (ActionManager.getInstance().getAction("ActivateStructureToolWindow") != null) {
|
||||
@Suppress("UnresolvedPluginConfigReference", "InjectedReferences") // todo IJPL-165055
|
||||
task("ActivateStructureToolWindow") {
|
||||
text(LessonsBundle.message("file.structure.toolwindow", action(it)))
|
||||
stateCheck { focusOwner?.javaClass?.name.isToStringContains("StructureViewComponent") }
|
||||
|
||||
-1
@@ -359,7 +359,6 @@ class PythonOnboardingTourLesson :
|
||||
var collapsed = false
|
||||
|
||||
text(PythonLessonsBundle.message("python.onboarding.project.view.description",
|
||||
@Suppress("UnresolvedPluginConfigReference", "InjectedReferences") // todo IJPL-165055
|
||||
action("ActivateProjectToolWindow")))
|
||||
text(PythonLessonsBundle.message("python.onboarding.balloon.project.view"),
|
||||
LearningBalloonConfig(Balloon.Position.atRight, width = 0, cornerToPointerDistance = 8))
|
||||
|
||||
Reference in New Issue
Block a user