-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better support for displaying objects #11
Comments
Youre right its in the roadmap (Watches / Open/Close properties). |
No idea, but maybe https://github.com/elzr/vim-json can help? It seems to have folding capabilities around JSON |
Also, after more searching, i came across https://github.com/puremourning/vimspector but haven't tried it yet. It seems to have object expansion/folding in its screenshot UI. Maybe it would be helpful as well. |
Thanks, |
It would be nice if objects would be displayed in a better way. For example:
As you can see, the object in variable
a
is displayed asA a foo: bar foofoo: Object
in theWatches
window.It would be nice to have them displayed in a more readable way. At the moment the best I can do is to add a watch like
JSON.stringify(a)
. But I would much rather have something likeJSON.stringify(a, null, " ")
, but whenever I try it it gets converted intoJSON.stringify(a, n\a
.I don't know what the capabilities or limitations of vim are, but it would be nice to be able to unfold objects like this:
The text was updated successfully, but these errors were encountered: