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

Fold long strings #10

Open
xl0 opened this issue Nov 2, 2024 · 2 comments
Open

Fold long strings #10

xl0 opened this issue Nov 2, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@xl0
Copy link

xl0 commented Nov 2, 2024

Would be great if long strings (adjustable) could be folded.
Ideally, they would stay folded regardless depth by default, similar to Chrome dev tools json viewer.

@zerodevx
Copy link
Owner

zerodevx commented Nov 4, 2024

This feature should be simple to add. I don't recall Chrome dev tools auto-folding long strings though - how does the folding look like? Can you attach a screenshot?

@zerodevx zerodevx added the enhancement New feature or request label Nov 4, 2024
@xl0
Copy link
Author

xl0 commented Nov 5, 2024

They do it in the js condole:
image

I think a highlighted [...] at the end of truncated string would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants