)
1.打开vscode设置后2. 搜索format3. 把以下选项打上对勾Editor: Format On PasteEditor: Format On SaveEditor: Format On Type4.C_Cpp:这一选项选择以下 Clang_format_fallback Style并输入以下内容{ BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Linux, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 120}5.不想预览模式可以在设置中搜索 workbench.editor.enablePreview ,找到此项后把√去掉6.vscode存在自动更新版本的情况导致远程连不上需要通过设置选项-输入update后将相关的选项关闭7.控制整体字体大小 搜索zoomsize