0

When I have an empty line between a few code lines and I place a cursor at this empty line, it's placed without any indentation in Rider. In VS it's placed after the virtual indentation same as the indentation of the surrounding code and this is the behavior I expect. Also, in Rider Home key doesn't move the cursor to the virtual indention.

Is there any way to have the behavior in Rider same as in VS?

Wrong:

wrong

Correct:

correct

Vlad
  • 3,001
  • 1
  • 22
  • 52

1 Answers1

0

The only thing in Rider that I'm familiar of is Virtual Space (see here). Open File | Settings | Editor | General and set the highlighted property: enter image description here

Now you can click anywhere in the editor and Rider will automatically create the necessary number of whitespaces.

But I understand that this is not 100% what you are looking for

mu88
  • 4,156
  • 1
  • 23
  • 47