Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoIndentWithSave adds tabs on empty lines #9

Open
proth opened this issue Feb 11, 2016 · 2 comments
Open

AutoIndentWithSave adds tabs on empty lines #9

proth opened this issue Feb 11, 2016 · 2 comments

Comments

@proth
Copy link

proth commented Feb 11, 2016

The plugin shouldn't align empty lines if the "Automatically trim trailing whitespace" / "Include whitespace-only lines" option is enabled. This leads to lots of warnings when you're using Swiftlint for example.

e.g

    static func loginUser() {
        ...
    }

    static func logoutUser() {
        ...
    }

becomes

    static func loginUser() {
        ...
    }
**--------**
    static func logoutUser() {
        ...
    }
@baldursson
Copy link

Yeah, this is a nightmare when using Swiftlint

@yonaskolb
Copy link

Agreed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants