CmdPal: Configure .editorconfig to format MSBuild files (#45739)

## Summary of the Pull Request

This PR configures the Command Palette's .editorconfig to format MSBuild
project and props files, and reformats the files accordingly.

No functional changes.
This commit is contained in:
Jiří Polášek
2026-02-24 21:50:17 +01:00
committed by GitHub
parent 07b8915e19
commit 83f26d4684
25 changed files with 156 additions and 144 deletions

View File

@@ -264,3 +264,15 @@ dotnet_style_prefer_simplified_interpolation = true:suggestion
[*.{cs,vb}] [*.{cs,vb}]
# CS8305: Type is for evaluation purposes only and is subject to change or removal in future updates. # CS8305: Type is for evaluation purposes only and is subject to change or removal in future updates.
dotnet_diagnostic.CS8305.severity = suggestion dotnet_diagnostic.CS8305.severity = suggestion
##################################################
# Solutions and projects
##################################################
[*.{*proj,props,target}]
tab_width = 2
indent_size = 2
end_of_line = crlf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project> <Project>
<!-- <!--
Common external dependencies for all CmdPal extensions: Common external dependencies for all CmdPal extensions:
- Microsoft.WindowsAppSDK - Microsoft.WindowsAppSDK
- Microsoft.Web.WebView2 - Microsoft.Web.WebView2