Skip to content
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

Feature Request - Improve format of JavaScript object output #616

Open
corysimmons opened this issue Apr 15, 2021 · 0 comments
Open

Feature Request - Improve format of JavaScript object output #616

corysimmons opened this issue Apr 15, 2021 · 0 comments

Comments

@corysimmons
Copy link

corysimmons commented Apr 15, 2021

It is so hard to read this:

I noticed the Quokka: Compact Message Output option, but it is unchecked so I don't know why the VSCode tooltip still seems to be trying to reduce the number of lines used. :(

Mixing the single line object + the multiline objects is fine, but the opening curly braces like on the newline after parent: should be on the same line like so: parent: {

And closing braces should be on their own line with the appropriate indentation.

Edited (from title): ideally would format similar to JSON.stringify(output, null, 2)

@smcenlly smcenlly changed the title JSON.stringify(output, null, 2) please Feature Request - Improve format of JavaScript output output Apr 16, 2021
@smcenlly smcenlly changed the title Feature Request - Improve format of JavaScript output output Feature Request - Improve format of JavaScript object output Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants