C# 如何使VisualStudio自动格式化一元否定运算符后的空白?

C# 如何使VisualStudio自动格式化一元否定运算符后的空白?,c#,visual-studio,auto-indent,unary-operator,autoformatting,C#,Visual Studio,Auto Indent,Unary Operator,Autoformatting,在VisualStudio的C#代码中,如果按CTRL+K+D,我可以根据工具|选项/文本编辑器| C#格式化设置格式化所有文档 I找不到格式化一元运算符的任何选项,尽管有用于二元运算符的选项 我想要这个代码: if( !Input.GetMouseButtonDown( 0 ) && Input.touchCount <= 0 ) if(!Input.GetMouseButtonDown(0)和&Input.touchCount if( ! Input.GetMouse

在VisualStudio的C#代码中,如果按CTRL+K+D,我可以根据工具|选项/文本编辑器| C#格式化设置格式化所有文档

I找不到格式化一元运算符的任何选项,尽管有用于二元运算符的选项

我想要这个代码:

if( !Input.GetMouseButtonDown( 0 ) && Input.touchCount <= 0 )
if(!Input.GetMouseButtonDown(0)和&Input.touchCount
if( ! Input.GetMouseButtonDown( 0 ) && Input.touchCount <= 0 )