C/C++ Auto Format
1. File --> Preferences-->Settings
2. Extensions-->C/C++-->Formatting
3. C_Cpp: Clang_format_fallback Style
4. Sample: {BasedOnStyle: LLVM, BreakBeforeBraces: Stroustrup, SpaceBeforeParens: Never, AllowShortIfStatementsOnASingleLine: true, MaxEmptyLinesToKeep: 8, ColumnLimit: 0, UseTab: Always, IndentWidth: 4, TabWidth: 4, PointerAlignment: Right}
Tab(Keep tab, Don't change to space key)
1. File --> Preferences-->Settings
2. Search: "Insert Spaces"
3. UnCheck:
Editor: Insert Spaces
Editor Detect Indentation
沒有留言:
張貼留言