2 ms·
as someone who saw the demo on the github page, and wanted to use it for Python, this comment throws up some red flags. What needs to be improved for Python us
by serf 7y ago
as someone who saw the demo on the github page, and wanted to use it for Python, this comment throws up some red flags.
What needs to be improved for Python use?
- Gehinnn 7y agoAs of now, before you can visualize your data structure, you must convert it to a compatible json string (like demonstrated in [1]). This json must match the schema of the visualizer you want to use. For TypeScript/JavaScript however, my extension injects some helpers that convert some common data structures (like number arrays) automatically to appropriate JSON. It requires a deep understanding of the target programming language to see how such helpers could be injected. I don't have this unterstanding for Python and would be very happy if someone who really knows Python could help me out. [1] https://github.com/hediet/vscode-debug-visualizer/blob/master/demos/python/graph.py#L26 https://github.com/hediet/vscode-debug-visualizer/blob/maste...