resolution/conversion to XML.
"""
import pickle
+from django_frame import DjangoTemplateFrame
from pydevd_constants import * #@UnusedWildImport
from types import * #@UnusedWildImport
try:
expression = expression.replace('@LINE@', '\n')
- if isinstance(frame, DjangoTemplateFrame):
- result = eval(expression, frame.f_globals, frame.f_locals)
- frame.changeVariable(attr, result)
- return result
+ # if isinstance(frame, DjangoTemplateFrame): # TODO: implemente for plugins
+ # result = eval(expression, frame.f_globals, frame.f_locals)
+ # frame.changeVariable(attr, result)
+ # return result
if attr[:7] == "Globals":
attr = attr[8:]
<projectService serviceInterface="com.jetbrains.python.debugger.PySignatureCacheManager"
serviceImplementation="com.jetbrains.python.debugger.PySignatureCacheManagerImpl"/>
- <projectService serviceInterface="com.jetbrains.python.hierarchy.call.PyStaticCallDataManager"
- serviceImplementation="com.jetbrains.python.hierarchy.call.PyStaticCallDataManagerImpl"/>
-
<projectService serviceInterface="com.jetbrains.python.psi.PyPsiFacade"
serviceImplementation="com.jetbrains.python.psi.impl.PyPsiFacadeImpl"/>
<applicationService serviceInterface="com.jetbrains.python.packaging.PyPackageManagers"
<action id="PyInvertBooleanAction" class="com.jetbrains.python.refactoring.invertBoolean.PyInvertBooleanAction" text="Invert Boolean">
<add-to-group group-id="RefactoringMenu" anchor="last" />
</action>
+
+ <action id="PyDebugger.ViewArray" class="com.jetbrains.python.actions.view.array.PyViewArrayAction">
+ <add-to-group group-id="XDebugger.ValueGroup" anchor="after" relative-to-action="Debugger.Tree.AddToWatches"/>
+ </action>
+
</actions>
<extensions defaultExtensionNs="com.intellij.spellchecker">