Break lines and wrapping in auto formatting of Visual Studio with ReSharper

后端 未结 2 1243
名媛妹妹
名媛妹妹 2021-02-11 12:20

I\'m working in a C# project and using Visual Studio 2012. When Visual Studio tries to format my code, it breaks lines and make my code look difficult to read. The ori

2条回答
  •  花落未央
    2021-02-11 13:08

    Solution for long lines:

    ReSharper, menu OptionsCode EditingC#Formatting StyleLine Breaks And Wrapping.

    And disable Wrap long lines:

    Enter image description here

    And it really makes me crazy!

提交回复
热议问题