Refactoring Property

If I type this:

public int lastId {            get;set;        }

 

Then if I highlight ";set; " with keyboard as to type over it and press the "{" it creates the following:

public int lastId {
            get
            {
                ;
                set;
            }
        }

0
3 comments

Hello M H, thank you for your question.

Please try disabling "ReSharper | Options | Environment | Editor | Behavior | Braces and parentheses | Surround selection on typing a quote, brace or parenthesis". Does it help?

0

That did it. 

0

Happy to hear that! Please let us know if you have any further questions.

0

Please sign in to leave a comment.