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 分鐘
  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

相關文章

C link list example

分類測試

© 2020 - 2026 My Blog
使用 Hugo 建立
主題 Stack 由 Jimmy 設計