How do I stop Visual Studio from inserting “object” when I type “new {”

前端 未结 5 1857
轻奢々
轻奢々 2020-12-15 23:53

When editing a C# source file, I type

new {

Visual Studio auto-corrects it to

new object{

Is there a way

5条回答
  •  伪装坚强ぢ
    2020-12-16 00:01

    Have you checked your auto-complete options for ReSharper? I just tried this in a new (empty) class with the default ReSharper settings and couldn't duplicate it. What version of studio/ReSharper are you using?

提交回复
热议问题