I have a code like this:
class Myclass { }
Now I want to add code, for example. method. I go right after} and press Enter, expecting to get this (| is the cursor location):
class Myclass { | }
However, I get the following:
class Myclass { | }
If I introduce a method now, it will look like this:
class Myclass { public void A() { } }
My indentation configuration is correct, because when I press Ctrl + K, D is committed. I also checked the options β Text Editor β C # β Formatting β Indents and βEdited Block Contentβ.
This happens on Visual Studio 2013 using Resharper 8.1. I temporarily suspended Resharper, and there is no difference. On the same machine, I have Visual Studio 2012 with Resharper, and it works fine.
Does anyone know which configuration needs to be changed to work with indentation during recording?
c # indentation visual-studio-2013 resharper
Vladimir
source share