Code formatter setup - barsandcat/HMS-Sunflower GitHub Wiki

Visual Studio 2022

.clan-format file should be near sln file. Options -> Text editor -> Code cleanup -> Run code cleanup profile on save Configure Code cleanup Profile -> Add "Format document (C++)", remove rest

Visual Studio Code

Install clang format tool https://llvm.org/builds/ Add clang-format extension Click TextEditor->Formatting->Format on save checkbox

⚠️ **GitHub.com Fallback** ⚠️