Style - axkoro/graph-impute GitHub Wiki

Formatting

  1. Install clang-format (should already ship with clang or MinGW)
    • To check whether you have it installed: where clang-format (in your shell)
  2. Setup clang-format as the default formatter in your editor
    • In VSCode:
      1. Install the clang-format extension
      2. Setup clang-format as default formatter
        • add "editor.defaultFormatter": "xaver.clang-format" to your settings.json
      3. Activate „Format on Save“
        • add "editor.formatOnSave": true to your settings.json
  3. Enjoy

Naming Convention

  • Variables & functions: snake_case
  • Classes: PascalCase 
  • Constants: UPPER_SNAKE_CASE
⚠️ **GitHub.com Fallback** ⚠️