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

format_on_save moves screen / cursor to beginning #29

Open
hyperknot opened this issue Mar 18, 2015 · 1 comment
Open

format_on_save moves screen / cursor to beginning #29

hyperknot opened this issue Mar 18, 2015 · 1 comment

Comments

@hyperknot
Copy link

I love this plugin, but this issue is really annoying. The format on save is a perfect idea, and it is implemented without this behaviour in other plugins, but in CSS Format it has this bug.

Whenever I save, the screen is moved to the beginning and the cursor is moved as well. This makes it almost impossible to work on longer files.

I don't know how is it solved in other plugins technically, but it is definitely not a problem in all plugins.

@mutian
Copy link
Owner

mutian commented Mar 19, 2015

This is indeed a problem. I did not consider the cursor position at the beginning of formatter designing, and now there is a great difficult to add this feature, I need some time to re-design the core code. Thank you for your support!

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