[rdct] bundle devkit runtime in frontend

GitOrigin-RevId: 8fd1798a045bb231d4e7a107abd9b149950ba5bf
This commit is contained in:
Maria Filipanova
2025-05-13 14:45:45 +02:00
committed by intellij-monorepo-bot
parent 9a9e3f3e26
commit f70c8db266
3 changed files with 7 additions and 1 deletions

View File

@@ -11,5 +11,6 @@
<orderEntry type="module" module-name="intellij.platform.core" />
<orderEntry type="module" module-name="intellij.platform.util" />
<orderEntry type="module" module-name="intellij.platform.analysis" />
<orderEntry type="module" module-name="intellij.platform.backend" scope="RUNTIME" />
</component>
</module>

View File

@@ -1,5 +1,9 @@
<idea-plugin package="com.intellij.dev.codeInsight">
<resource-bundle>messages.DevCodeInsightBundle</resource-bundle>
<dependencies>
<module name="intellij.platform.backend"/>
</dependencies>
<extensionPoints>
<extensionPoint qualifiedName="com.intellij.dev.lang.goodCodeRedVisitor"

View File

@@ -4,6 +4,7 @@ package com.intellij.dev.psiViewer;
import com.intellij.openapi.actionSystem.ActionUpdateThread;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.CommonDataKeys;
import com.intellij.openapi.actionSystem.remoting.ActionRemoteBehaviorSpecification;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.module.Module;
@@ -17,7 +18,7 @@ import org.jetbrains.annotations.Nullable;
/**
* @author Konstantin Bulenkov
*/
public class PsiViewerAction extends DumbAwareAction {
public class PsiViewerAction extends DumbAwareAction implements ActionRemoteBehaviorSpecification.Duplicated {
@Override
public void actionPerformed(@NotNull AnActionEvent e) {
Editor editor = isForContext() ? e.getData(CommonDataKeys.EDITOR) : null;