• 顯示空白與Tab:

   Edit => Advanced => View White Space (Ctrl+E,S)

  • 顯示行號:

   Tools => Options => Text Editor => All Languanges => 勾選Display中Line numbers

  • 縮排使用Tab

   Tools => Options => Text Editor => C# => Tabs => Keep tabs

  • 空白設定:

   Tools => Options => Text Editor => C# => Formatting => Spacing

   Set spacing for method declarations
            -> Insert space within argument list parentheses (選取)
            -> Set spacing for method calls
            -> Insert space within argument list parentheses (選取)
            -> Set other spacing options
            -> Insert space after keywords in control flow statements(不勾)
            -> Insert space within parentheses of expressions (選取)
            -> Insert space inside parentheses for control flow statements (選取)
            -> Set spacing for brackets
            -> Insert spaces within square brackets (選取)

  • 換行設定:

   Tools => Options => Text Editor => C# => Formatting => New Lines

   Place open brace on new line for control blocks (不勾)

   Tools => Options => Text Editor => C# => Formatting => Wrapping

     -> Leave block on single line(不勾)
            -> Leave statements and member declarations on the same line(不勾)

 

 

arrow
arrow
    文章標籤
    VS VS2008 設定
    全站熱搜

    Milexz 發表在 痞客邦 留言(0) 人氣()