Powertoys: Move .clangFormat and format_sources.ps1 to codeAnalysis folder

Created on 14 Dec 2019  路  7Comments  路  Source: microsoft/PowerToys

Is it possible to move these files this to keep our root folder a bit clean?

Area-Quality Resolution-Fix-Committed

Most helpful comment

FYI, this is a low priority item (we really should create some tags for priority)

All 7 comments

@crutkas format_sources.ps1 could be easily moved with a minor change. .clang-format should be somewhere directly above the source files to be detected by the VS. Perhaps we could move .clang-format to the src folder instead?

That works. Just trying to keep stuff tidy.

I would prefer to move format_sources.ps1 under tools and keep the codeAnalysis folder strictly for code analysis.

The style cop stuff for .NET is in that folder as well. Maybe just move those files to tools as well?

Part of me wants to keep everything together in one spot for easy of finding stuff

Hi in what ways is there change to format_sources.ps1?

@nishp77 we just need to make sure that it still works from other folder, and if not, changes some paths, e.g. ChildItem -Recurse -File src to ChildItem -Recurse -File ../src

FYI, this is a low priority item (we really should create some tags for priority)

Was this page helpful?
0 / 5 - 0 ratings