-
Notifications
You must be signed in to change notification settings - Fork 335
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
smarter rendering of array elements across lines #260
Comments
Yes, this can be done by determining the formatting based on the size/content of the generated source text for each element. Should be pretty easy. PRs welcome. |
+1 |
+1 |
get rewritten into
which is not what one would expect rewriting the code. That's a small, innocent literal array. And yet I see no way to make
escodegen
output such lists as[1, 2]
. Could you add it as a default behaviour and an option, please?The text was updated successfully, but these errors were encountered: