My Blog

toolman xyz

  1. Home
  2. About
  3. Archives
  4. Tags
  5. Search
  6. Links
  7. Disclaimer
  8. RSS
Featured image of post Visual Studio Code 更改 C 語言左大括號位置(右括、下括)
C

Visual Studio Code 更改 C 語言左大括號位置(右括、下括)

Aug 01, 2022
1 minute read
  1. Go Preferences -> Settings

  2. Search for C_Cpp.clang_format_fallbackStyle

  3. Click Edit, Copy to Settings

  4. Change from “Visual Studio” to "{ BasedOnStyle: Google, IndentWidth: 4 }"

source: https://stackoverflow.com/questions/46111834/format-curly-braces-on-same-line-in-c-vscode  

C
Licensed under CC BY-NC-SA 4.0

Related content

C link list example

分類測試

© 2020 - 2025 My Blog
Built with Hugo
Theme Stack designed by Jimmy