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

Performance Issues with Pretty JSON #198

Open
dannycodes opened this issue Jan 30, 2018 · 2 comments
Open

Performance Issues with Pretty JSON #198

dannycodes opened this issue Jan 30, 2018 · 2 comments
Labels

Comments

@dannycodes
Copy link

Sublime Text has pretty good large file support. I frequently use the pretty JSON package to expand minfied JSON to 40k line blocks.

With the six package enabled, running pretty JSON with any sizable file will cause Sublime to enter its 'grey mode' (that mode where UI locks up). It will stay in this mode indefinitely.

This isn't a big problem, as I can just disable the package before running pretty JSON and re-enable it afterwards.

However I figured I'd bring this to your attention, as I'm a big proponent of vim in sublime

@guillermooo
Copy link
Owner

guillermooo commented Jan 30, 2018

Thanks for the report!

In their current implementation, some Six commands' performance will degenerate quickly for long lines. I need to revise those. However, the UI freezing might indicate another bug. I'll try to repro this on my end.

@guillermooo
Copy link
Owner

@dannycodes I've tried with this file: https://github.com/zemirco/sf-city-lots-json

For me, the PrettyJSON package freezes ST with or without Six if I attempt to compress the file in the editor. Are you talking about files this big?

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

No branches or pull requests

2 participants