mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 15:52:01 +07:00
[pycharm] PY-82189 Debugger: fix the issue
Merge-request: IJ-MR-168650 Merged-by: Ekaterina Itsenko <ekaterina.itsenko@jetbrains.com> (cherry picked from commit f593e9b96d9208dbcb921118d7315635784fdbc5) GitOrigin-RevId: cee35f7bc9de62708ab1388fa5c5b1091148a744
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8828a301b0
commit
f7be750310
@@ -547,6 +547,7 @@ jvm_library(
|
||||
"//python/python-syntax-core:syntax-core",
|
||||
"//platform/core-ui",
|
||||
"//platform/ide-core-impl",
|
||||
"//platform/core-impl",
|
||||
],
|
||||
runtime_deps = [":python-pydev_resources"]
|
||||
)
|
||||
|
||||
@@ -24,5 +24,6 @@
|
||||
<orderEntry type="module" module-name="intellij.python.syntax.core" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core.ui" />
|
||||
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core.impl" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -6,16 +6,16 @@ import com.google.common.collect.ImmutableMap;
|
||||
import com.google.common.collect.Maps;
|
||||
import com.intellij.icons.AllIcons;
|
||||
import com.intellij.ide.DataManager;
|
||||
import com.intellij.ide.plugins.PluginManagerCore;
|
||||
import com.intellij.openapi.actionSystem.ActionManager;
|
||||
import com.intellij.openapi.actionSystem.AnAction;
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent;
|
||||
import com.intellij.openapi.actionSystem.DataContext;
|
||||
import com.intellij.openapi.util.registry.Registry;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.application.ReadAction;
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.intellij.openapi.util.NlsSafe;
|
||||
import com.intellij.util.PlatformUtils;
|
||||
import com.intellij.openapi.util.registry.Registry;
|
||||
import com.intellij.xdebugger.frame.*;
|
||||
import com.intellij.xdebugger.frame.presentation.XRegularValuePresentation;
|
||||
import com.intellij.xdebugger.impl.ui.tree.nodes.XValueNodeImpl;
|
||||
@@ -28,8 +28,8 @@ import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
import java.util.*;
|
||||
import java.awt.event.MouseEvent;
|
||||
import java.util.*;
|
||||
import java.util.List;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
@@ -567,7 +567,7 @@ public class PyDebugValue extends XNamedValue {
|
||||
private static boolean checkAndShowViewAsImageOnScreen(PyDebugValue debugValue) {
|
||||
try {
|
||||
return Registry.get("actions.show.as.image.visibility").asBoolean()
|
||||
&& !PlatformUtils.isPyCharmCommunity()
|
||||
&& !PluginManagerCore.isDisabled(PluginManagerCore.ULTIMATE_PLUGIN_ID)
|
||||
&& checkAndEnableViewAsImageVisibility(debugValue);
|
||||
} catch (MissingResourceException e) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user