输入 "{", VS 会很智能的给你补全,得到 “{}”,
如果不想享受这个服务,可以按以下设置取消:
Tools -> Options -> Text Editor -> C# -> General
取消 Automatic brace completion 的复选框(brace 就是花括号、大括号的意思)
参考
How to turn off brackets/quotes auto-completion in Visual Studio
输入 "{", VS 会很智能的给你补全,得到 “{}”,
如果不想享受这个服务,可以按以下设置取消:
Tools -> Options -> Text Editor -> C# -> General
取消 Automatic brace completion 的复选框(brace 就是花括号、大括号的意思)
参考
How to turn off brackets/quotes auto-completion in Visual Studio
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。