代码的格式化:
Project -> Solution Options -> Source Code -> Code Formatting -> C# source code -> C# Format -> Edit
PS: 如果改完之后保存报could not save solution xx is not under version control的错,可以去Project -> Solution Options -> Version Control -> General -> Disable Version Control for this solution勾上
括号自动补全:
Tools -> Options -> Text Editor -> Behavior -> Insert matching brace勾上 (PS:Smart semicolon placement 智能放置分号位置,不用再手动移动光标然后才打“;”了)
快捷键修改位置:
Tools -> Options -> Environment -> Key Bindings ->
代码提示:
Text Editor -> Show Completion Window
注释:
切换注释:Edit -> Toggle Line Comment(s)
添加注释:Edit -> Add Line Comment(s)
取消注释:Edit -> Remove Line Comment(s)