News for hackers. Stuff that matters.
Re:Show HN: Visualize Data Structures in VS Code by Gehinnn on Friday August 28, 2020 @06:15PM (#24310797)
Data Extractors would also allow to offer alternative extraction options (like how visualization data should be constructed from the given value). The user can then select an alternative data extractor.

The `expressionTemplate` does not allow to do that yet.

If somebody is interested in implementing data extractors for Ruby, I can offer help!

Re:Show HN: Visualize Data Structures in VS Code by jonnytran on Friday August 28, 2020 @07:36PM (#24311655)
Can you point us to where the existing extractors are implemented in the codebase?
Re:Show HN: Visualize Data Structures in VS Code by Gehinnn on Friday August 28, 2020 @07:46PM (#24311737)
In case of javascript, the data extractor runtime is injected into the debuggee at [1]. You can find the data extractor runtime implementation at [2].

[1] https://github.com/hediet/vscode-debug-visualizer/blob/c420f... [2] https://github.com/hediet/vscode-debug-visualizer/blob/maste...