Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Added DotNet global tool for code formatting. (#29403)
Added DotNet global tool for code formatting. Tool can be run on a project, solution, or folder containing a project or solution. Tool pulls formatting configuration from an .editorconfig if present, otherwise formats with roslyn defaults.
- Loading branch information
Showing
with
2,884 additions
and 78 deletions.
- +7 −0 Roslyn.sln
- +56 −1 THIRD-PARTY-NOTICES.txt
- +1 −1 build/Targets/Imports.targets
- +4 −0 build/Targets/Packages.props
- +3 −3 src/Compilers/Core/Portable/FileSystem/PathUtilities.cs
- +1 −1 src/Compilers/Core/Portable/InternalUtilities/FileNameUtilities.cs
- +1 −1 src/NuGet/VisualStudio/VS.ExternalAPIs.Roslyn.Package.csproj
- +126 −70 src/Setup/Roslyn.ThirdPartyNotices/ThirdPartyNotices.rtf
- +158 −0 src/Tools/dotnet-format/CodeFormatter.cs
- +60 −0 src/Tools/dotnet-format/Logging/SimpleConsoleLogger.cs
- +16 −0 src/Tools/dotnet-format/Logging/SimpleConsoleLoggerFactoryExtensions.cs
- +28 −0 src/Tools/dotnet-format/Logging/SimpleConsoleLoggerProvider.cs
- +95 −0 src/Tools/dotnet-format/MSBuild/MSBuildCoreLoader.cs
- +78 −0 src/Tools/dotnet-format/MSBuild/MSBuildEnvironment.cs
- +104 −0 src/Tools/dotnet-format/MSBuild/MSBuildWorkspaceFinder.cs
- +93 −0 src/Tools/dotnet-format/Options/EditorConfigOptionsApplier.cs
- +109 −0 src/Tools/dotnet-format/Program.cs
- +50 −0 src/Tools/dotnet-format/README.md
- +250 −0 src/Tools/dotnet-format/Resources.Designer.cs
- +180 −0 src/Tools/dotnet-format/Resources.resx
- +64 −0 src/Tools/dotnet-format/dotnet-format.csproj
- +107 −0 src/Tools/dotnet-format/xlf/Resources.cs.xlf
- +107 −0 src/Tools/dotnet-format/xlf/Resources.de.xlf
- +107 −0 src/Tools/dotnet-format/xlf/Resources.es.xlf
- +107 −0 src/Tools/dotnet-format/xlf/Resources.fr.xlf
- +107 −0 src/Tools/dotnet-format/xlf/Resources.it.xlf
- +107 −0 src/Tools/dotnet-format/xlf/Resources.ja.xlf
- +107 −0 src/Tools/dotnet-format/xlf/Resources.ko.xlf
- +107 −0 src/Tools/dotnet-format/xlf/Resources.pl.xlf
- +107 −0 src/Tools/dotnet-format/xlf/Resources.pt-BR.xlf
- +107 −0 src/Tools/dotnet-format/xlf/Resources.ru.xlf
- +107 −0 src/Tools/dotnet-format/xlf/Resources.tr.xlf
- +107 −0 src/Tools/dotnet-format/xlf/Resources.zh-Hans.xlf
- +107 −0 src/Tools/dotnet-format/xlf/Resources.zh-Hant.xlf
- +1 −0 src/VisualStudio/Setup/Roslyn.VisualStudio.Setup.csproj
- +4 −0 src/Workspaces/Core/MSBuild/Host/SimpleAnalyzerAssemblyLoaderService.cs
- +4 −1 src/Workspaces/Core/MSBuild/Microsoft.CodeAnalysis.Workspaces.MSBuild.csproj
Oops, something went wrong.