Reformatting code moves cursor to the first line

Completed

When I hit Ctrl + Alt + L to reformat code, the code is reformatted, but my cursor (caret) is moved to the first line of the file. This is very annoying because I always have to scroll to where my cursor was before. How can I turn this off?

Thank you

0
3 comments

Hello Martin, Thank you for contacting us.

Could you please tell me:

- what version of Rider do you use?

- what is your OS?

- what is the type of the project?

Could you share Rider Logs after reproducing the problem (Help | Compress Logs and Show in ...)? You can attach this data in a new ticket on https://youtrack.jetbrains.com, or you can create a support request via pressing a [Submit Request] button on the top of this page. Thank you in advance!

0
Thank you! We reproduced it and going to fix it soon.
0

Please sign in to leave a comment.