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

Keep code folding on after imports sort #32

Closed
sergeyzwezdin opened this issue Nov 2, 2018 · 2 comments
Closed

Keep code folding on after imports sort #32

sergeyzwezdin opened this issue Nov 2, 2018 · 2 comments

Comments

@sergeyzwezdin
Copy link

I use sort-imports extension and run it on each file save. It's convenient, but I have a problem with large files. When I save the file, the folds expand and the current file position changes.

After googling I came across this post and found that the reason is your extension.

Could you please make it possible not to expand folded regions?

@amatiasq
Copy link
Owner

amatiasq commented Nov 2, 2018

This is related to the fact the whole file gets processed when the sorting operation is executed as stated in #7.

This bug has proven really hard to fix, any help will be much appreciated.

@amatiasq
Copy link
Owner

I'm happy to say this was fixed in #34, all credit goes to @jansav 😄

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

No branches or pull requests

2 participants