0

私のプロジェクトには、メソッド シグネチャを読みやすくするためのコーディング規約があります。例えばこんな感じ

    public static AxesPositions AxesAlignment
        ( Point p
        , Vector n
        , List<Point> toolInsertSection
        , double millingHeadRadius
        , double swivelAngle
        , IScrew part
        , double machiningTolerance
        , double meshEpsilon)

ただし、Visual Studio が再インデントされるたびに

    public static AxesPositions AxesAlignment
        (Point p
        , Vector n
        , List<Point> toolInsertSection
        , double millingHeadRadius
        , double swivelAngle
        , IScrew part
        , double machiningTolerance
        , double meshEpsilon)

おそらく私はOCDですが、最初のパラメーターが詰まっているのを見ると(イライラします。Visual Studio 2012 でこの動作を変更する方法はありますか。

4

1 に答える 1

0

プラグインなしで最も近いのは、[ツール] > [オプション] > [テキスト エディター] > [C#] > [書式設定] > [間隔] > [引数リストの括弧内にスペースを挿入する] です。

ただし、「)」の前にもスペースを追加し、1 行しかない場合でもスペースを空けます。

于 2013-07-19T05:18:56.860 に答える