Closed james-yin closed 1 year ago
The Output uses a VSCode internal Feature. Does this not provide a JSON View which is foldable? Could you please add a.screenshot? Maybe it uses just plain Text View.
Here's a screenshot showing folding widget in the request but not in the response. Thanks for looking into this:
I didn't know that at all. I actually only use vscode-httpyac myself (without notebook extension) and that's why I didn't fall over it. You can solve your problem by installing my Monaco Editor extension. It will use the same editor as VSCode internally to display the JSON. However, I thought so far that this has no more use. Maybe I should update it again.
But you should also make a bug in the repo of VSCode, since the folding support should already be part of the base. It should be extension markdown-language-features in VSCode Repo
Installing Monaco Editor extension did not fix the issue. In fact, that extension stopped all the Markdown rendering. After uninstalling the Monaco, my single cells split to different cells. I had to fix them cell by cell.
@james-yin Sorry, but I did not quite understand the error. The Monaco Editor is actually only a renderer and has no file access, but runs in a browser sandbox without file access. Then I would suggest you go the way of a ticket directly in VSCode. I just use the built-in display here which it does not support.
This is a new feature or enhancement request.
Make the output response JSON payload foldable (collapsible) just like how we can currently fold the request JSON body.