dotnet/roslyn

Incorrect smart indent anchor following `do` keyword

Offen

#50.063 geöffnet am 18.12.2020

 (11 Kommentare) (1 Reaktion) (1 zugewiesene Person)C# (4.257 Forks)batch import
Area-IDEBugDeveloper CommunityIDE-Formatterhelp wanted

Repository-Metriken

Stars
 (20.414 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 6T 17h) (256 gemergte PRs in 30 T)

Beschreibung

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
            $$
    }
}

Contributor Guide