Debugger custom Type Renderers in Python

已回答

Are debugger custom Type Renderers supported in Python?

 

Thanks,

dave

0
正式评论

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?

0

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

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

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

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

请先登录再写评论。