范設(shè)置 (vscode設(shè)置))
1.打開vscode設(shè)置后2. 搜索format3. 把以下選項打上對勾Editor: Format On PasteEditor: Format On SaveEditor: Format On Type4.C_Cpp:這一選項選擇以下 Clang_format_fallback Style并輸入以下內(nèi)容{ BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Linux, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 120}5.不想預(yù)覽模式可以在設(shè)置中搜索 workbench.editor.enablePreview ,找到此項后把√去掉6.vscode存在自動更新版本的情況導(dǎo)致遠(yuǎn)程連不上需要通過設(shè)置選項-輸入update后將相關(guān)的選項關(guān)閉7.控制整體字體大小 搜索zoomsize