mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-184662 Moved inject/uninject actions to the backend for now
GitOrigin-RevId: cf483405b32ba89512f1fd115cb8db3182e672e8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b9c5e40f8f
commit
790d3d01cd
@@ -47,6 +47,21 @@ jvm_provided_library(
|
||||
lib = "//platform/projectModel-api:projectModel"
|
||||
)
|
||||
|
||||
jvm_provided_library(
|
||||
name = "ide_provided",
|
||||
lib = "//platform/platform-api:ide"
|
||||
)
|
||||
|
||||
jvm_provided_library(
|
||||
name = "editor-ui_provided",
|
||||
lib = "//platform/editor-ui-api:editor-ui"
|
||||
)
|
||||
|
||||
jvm_provided_library(
|
||||
name = "core-ui_provided",
|
||||
lib = "//platform/core-ui"
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
name = "backend",
|
||||
module_name = "intellij.platform.langInjection.backend",
|
||||
@@ -62,6 +77,9 @@ jvm_library(
|
||||
":langInjection_provided",
|
||||
":util-ui_provided",
|
||||
":projectModel_provided",
|
||||
":ide_provided",
|
||||
":editor-ui_provided",
|
||||
":core-ui_provided",
|
||||
],
|
||||
runtime_deps = [":backend_resources"]
|
||||
)
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$/../backend">
|
||||
<sourceFolder url="file://$MODULE_DIR$/../backend/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/../backend/src" isTestSource="false" />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
@@ -17,5 +17,8 @@
|
||||
<orderEntry type="module" module-name="intellij.platform.langInjection" scope="PROVIDED" />
|
||||
<orderEntry type="module" module-name="intellij.platform.util.ui" scope="PROVIDED" />
|
||||
<orderEntry type="module" module-name="intellij.platform.projectModel" scope="PROVIDED" />
|
||||
<orderEntry type="module" module-name="intellij.platform.ide" scope="PROVIDED" />
|
||||
<orderEntry type="module" module-name="intellij.platform.editor.ui" scope="PROVIDED" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core.ui" scope="PROVIDED" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -18,5 +18,17 @@
|
||||
groupBundle="messages.InspectionsBundle" groupKey="inspection.general.tools.group.name"
|
||||
key="inspection.injected.references.display.name" bundle="messages.IntelliLangBundle"/>
|
||||
|
||||
<intentionAction>
|
||||
<className>org.intellij.plugins.intelliLang.inject.InjectLanguageAction</className>
|
||||
<bundleName>messages.LangBundle</bundleName>
|
||||
<categoryKey>intention.category.language.injection</categoryKey>
|
||||
<language/>
|
||||
</intentionAction>
|
||||
<intentionAction>
|
||||
<className>org.intellij.plugins.intelliLang.inject.UnInjectLanguageAction</className>
|
||||
<bundleName>messages.LangBundle</bundleName>
|
||||
<categoryKey>intention.category.language.injection</categoryKey>
|
||||
<language/>
|
||||
</intentionAction>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package org.intellij.plugins.intelliLang.inject;
|
||||
|
||||
import com.intellij.codeInsight.intention.IntentionAction;
|
||||
@@ -11,18 +11,6 @@
|
||||
</extensionPoints>
|
||||
|
||||
<extensions defaultExtensionNs="com.intellij">
|
||||
<intentionAction>
|
||||
<className>org.intellij.plugins.intelliLang.inject.InjectLanguageAction</className>
|
||||
<bundleName>messages.LangBundle</bundleName>
|
||||
<categoryKey>intention.category.language.injection</categoryKey>
|
||||
<language/>
|
||||
</intentionAction>
|
||||
<intentionAction>
|
||||
<className>org.intellij.plugins.intelliLang.inject.UnInjectLanguageAction</className>
|
||||
<bundleName>messages.LangBundle</bundleName>
|
||||
<categoryKey>intention.category.language.injection</categoryKey>
|
||||
<language/>
|
||||
</intentionAction>
|
||||
<intentionAction>
|
||||
<className>org.intellij.plugins.intelliLang.inject.EditInjectionSettingsAction</className>
|
||||
<bundleName>messages.LangBundle</bundleName>
|
||||
|
||||
Reference in New Issue
Block a user