Skip to content

Project-wide whitespace cleanup #4779

Open

Description

@treymerkley

So while working on src/Tasks/GenerateResource.cs I accidentally found that there's a relatively large amount of whitespace in the entire MSBuild project. Can I clean this up? I'll do it programmatically of course, and (once I find one) I'll insert the function I use.

Activity

  1. rainersigwald commented on Oct 3, 2019

    @rainersigwald
    Member

    Let's limit it to only trailing whitespace, but yeah, I think we'd take a PR to do that.

    Areas to be careful of:

    • Try not to change whitespace inside string literals
    • Is anything in our MSBuild logic whitespace-sensitive? I sure hope not!
  2. added
    Area: Our Own Build
    on Oct 3, 2019
  3. treymerkley commented on Oct 3, 2019

    @treymerkley
    ContributorAuthor

    only trailing? I should be able to do that.

    Rather than trying to clean the whole project at once then, what if I went a folder at a time, starting at the root, that way any bugs that arise are immediately noticeable and easier to fix?

  4. rainersigwald commented on Oct 3, 2019

    @rainersigwald
    Member

    Seems reasonable to me!

  5. treymerkley commented on Oct 28, 2019

    @treymerkley
    ContributorAuthor

    So I'm just using https://github.com/purcell/whitespace-cleanup-mode and doing it on a file-by-file basis so it's easier to track down what broke in the event something is whitespace dependent.

  6. added a commit that references this issue on Oct 29, 2019
  7. added a commit that references this issue on Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area: Our Own Buildtriaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions