Coding settings for claude

From Genecats
Revision as of 22:35, 2 March 2026 by Galt (talk | contribs)
Jump to navigationJump to search

cat /cluster/home/galt/.claude/CLAUDE.md This applies to all of my projects since it is in my home dir. CLAUDE.md can also be at the top level of a project or source directory. If it is checked in it can be shared for the team. CLAUDE.local.md can contain private settings not checked into git.

  1. FYI currently this does not handle functions perfectly
  2. since it indents their bodies too.

    1. Code Style

- C:

   - Whitesmiths style for control structures (if/else/for/while/switch)
   - Function body braces at column 0, not indented
   - 4-space indent
   - `PascalCase` for classes/methods
   - `_camelCase` for private fields
   - `camelCase` for local variables, parameters