ReSharper Line Breaks and Wrapping

后端 未结 1 666
南旧
南旧 2021-02-03 19:10

So, this:

cmd = new OdbcCommand( string.Format( @\"
SELECT *
  FROM Bobby_Tables
 WHERE Name = {0}\", \"Little Bobby Drop Tables\" ), odbcConnection );


        
相关标签:
1条回答
  • 2021-02-03 20:01

    I guess that your problem is that the first line got broken in three. This is because of bug http://youtrack.jetbrains.com/issue/RSRP-288271 that was fixed in ReSharper 7.0. You should consider upgrading or turning off option ReSharper | Options -> Code Editing | C# | Formatting style | Line breaks and wrapping -> LineWrapping | Wrap long lines.

    0 讨论(0)
提交回复
热议问题