Microsoft Visual Studio Community 2019 (16.11.19) 方法一(快捷键)选中内容 > ctrl + k ctrl + f方法二(工具栏)选中内容 > 编辑 > 高级 > 设置选定内容的格式