【方法】关闭Visual Studio 2019的代码自动格式化功能

在Visual Studio 2019中编写C语言代码,在定义指针变量的时候,星号*总是自动跑到左边去,很烦人。比如char *s自动变成char* s。 关闭这个自动格式化代码的功能的方法是,选择Tools菜单中的Options命令,在Text Editor -> C/C++ -> Formatting -> General中取消勾选所有的Automatically indent和Automat
相关文章
相关标签/搜索