Debugger custom Type Renderers in Python

Answered

Are debugger custom Type Renderers supported in Python?

 

Thanks,

dave

6 comments
Comment actions Permalink
Official comment

Unfotrunately, custom Type Renderers are not supported for Python yet. Please, create a feature request in our issue tracker: https://youtrack.jetbrains.com/issues/PY

Comment actions Permalink

Hi! What custom Type Renderers do you mean?

0
Comment actions Permalink

Are you describing the ability for the debugger to recognize object types as instances of a non-builtin class?

Pycharm does this very well, IMO.  Here is an example of that.

0
Comment actions Permalink

I'm talking about being able to customize what string is shown for a given class and also what children are shown. Here is the help link for how to do it in Java:

https://www.jetbrains.com/help/idea/2016.2/java-data-type-renderers.html

0
Comment actions Permalink

Ah, bummer. Is it possible to do custom renderers via plugin API even if it is not supported in the GUI? Something like what this person is describing Custom NodeRenderer for debug view.

1
Comment actions Permalink

reesd Yes, it's possible to create a custom renderers in plugin via public API. And even if you need to change something in platform, you can change it and create a pull request to our public repository on github: https://github.com/JetBrains/intellij-community. Contributions are always welcome!

0

Please sign in to leave a comment.