<div>Hi Dave,<br></div><div><br></div><div>I'm afraid I was the cause of the start of the discussion. I'm also using VS Code now, which has a built-in way to auto format the code (incl C++).<br>Using the shortcut: Ctrl + Shift + I (capital i)<br></div><div><br></div><div><div>Yet there are otherwise, like <a rel="nofollow" title="https://clang.llvm.org/docs/ClangFormat.html" target="_blank" href="https://clang.llvm.org/docs/ClangFormat.html">clang auto formatter</a>. Instead of using right away. We may need to discuss and agree as a community which tool we will use.<br></div><div>And also which settings will be used, ideally be stored into the git repo (root folder), which then get picked up by the relevant tool.<br></div><div><br></div><div>In fact, I'm would like to go to next level, namely automated CI/CD. Which may include auto-formatter, other tools maybe like static code analysis (<code data-qa-selector="job_log_content"><span>cppcheck</span></code>), generation of documentation (from source code) and running testcases within a pipeline. <br></div><div>Read my message #62 on bug report: <a href="https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1469#62">https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1469#62</a><br></div><div><br></div><div>Ps. Where are the testcases? We may need to start creating (integration/unit) testcases to avoid regression issues when changing code.<br></div><div><br></div></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user"><div>Kind regards,<br></div><div>Melroy van den Berg<br></div></div></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div> Op woensdag, mei 20, 2020 1:23 AM, Dave Chamberlin-Kidd <dave@flamangoes.co.uk> schreef:<br></div><div> <br></div><blockquote class="protonmail_quote" type="cite"><div dir="auto"><div>Hi,<br></div><div dir="auto"><br></div><div dir="auto">I noticed someone else talking about auto code formatting. Is there a house style? If so is there a recommend formatting tool (I'm currently using Vs code and vi to edit)?<br></div><div dir="auto"><br></div><div dir="auto">Cheers<br></div><div dir="auto">Dave<br></div></div></blockquote><div><br></div>