Skip to content

Remove using leaves leading lines #34201

@terrajobst

Description

@terrajobst

Version Used: 15.9.9

Steps to Reproduce:

Configure code style to have blank lines between different using groups

Apply "Remove redundant using" on System here:

using System;

using Xunit;

namespace SomeTests
{
    [Fact]
    public void Bla()
    {
    }
}

Expected Behavior:

using Xunit;

namespace SomeTests
{
    [Fact]
    public void Bla()
    {
    }
}

Actual Behavior:

Leading blank line:

// This line is blank but markdown can't do that
using Xunit;

namespace SomeTests
{
    [Fact]
    public void Bla()
    {
    }
}

Metadata

Metadata

Assignees

Labels

Area-IDEBugIDE-CodeStyleBuilt-in analyzers, fixes, and refactoringshelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on it

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions