0

As the title says, it's frustrating since the behaviour is different from stock Visual Studio. I also couldn't find a setting for it anywhere. I'd like the cursor to stay where it is when I comment out the line I'm on.

ex: imagine || is the selection cursor.

||void Foo()

becomes
// void Foo()
||

while I want the cursor to stay where it is.

I tried looking for settings that changed this behaviour, looked up if there were any similar questions online, and couldn't find any solution.

1 Answer 1

1

Unfortunately, there is no way to change this behavior now. There is an issue on YouTrack about this: RSRP-461526 Don't move the caret to the next line after (un)commenting.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.