Reputation: 11317
I have just installed Visual Studio 2015 and Resharper 10 and noticed that whenever I click on a line of code, the caret is placed at exactly the position I clicked regardless of whether the line has sufficient length. It seems the line is filled with blanks as required.
This is pretty annoying in empty lines where I'd like to have the caret at the current indentation level and not dozens of characters into the line. Is there a shortcut to move the caret to the beginning of the line (with indentation) or do I have to switch of this new behavior completely?
Upvotes: 1
Views: 65
Reputation: 10897
In Visual Studio you may have the 'Enable virtual space' selected, Tools
->Options
->Text Editor
->C#
->General
Upvotes: 3