dotnet/roslyn

Incorrect smart indent anchor following `do` keyword

オープン

#50,063 opened on 2020/12/18

 (11 件のコメント) (1 件のリアクション) (1 人の担当者)C# (4,257 件のフォーク)batch import
Area-IDEBugDeveloper CommunityIDE-Formatterhelp wanted

Repository metrics

Stars
 (20,414 個のスター)
PR merge metrics
 (平均マージ 6d 17h) (30d で 256 merged PRs)

説明

Version Used: 16.8.3

🔗 Originally filed as AB#1259025 🔗 This is also the root cause of AB#1289599 🔗 This is also the root cause of AB#1348257 🔗 This is also the root cause of AB#1469007

Steps to Reproduce:

class Test
{
    void Method()
    {
do$$
    }
}

Press Enter after the do keyword.

Expected Behavior:

class Test
{
    void Method()
    {
do
    $$
    }
}

Actual Behavior:

class Test
{
    void Method()
    {
do
            $$
    }
}

コントリビューターガイド