Debugger custom Type Renderers in Python Follow
Answered
Are debugger custom Type Renderers supported in Python?
Thanks,
dave
Please sign in to leave a 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
Hi! What custom Type Renderers do you mean?
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.
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
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.
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!