Sublime-CSS-Format icon indicating copy to clipboard operation
Sublime-CSS-Format copied to clipboard

format_on_save moves screen / cursor to beginning

Open hyperknot opened this issue 9 years ago • 1 comments

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.

hyperknot avatar Mar 18 '15 07:03 hyperknot

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!

mutian avatar Mar 19 '15 09:03 mutian