Files
james.maesandClaude Opus 5.5 d6fedc762b feat(coding): adopt Kingsrook coding standard with IDE and CLI configs
Cross-language coding standard (K22-CODE-01..26) adopted from Kingsrook's QQQ
CODE_STYLE.md, with profiles for C#/.NET, Java, TypeScript, Python, Rust, Go,
Swift, Shell/PowerShell, and Terraform, and the files each IDE and tool imports:
IntelliJ scheme, copyright profile and live templates, Checkstyle, Eclipse
formatter, .editorconfig, Directory.Build.props, ESLint Stylistic, ruff,
rustfmt/clippy/cargo-deny, golangci-lint, swift-format/SwiftLint, ShellCheck,
PSScriptAnalyzer, TFLint, sqlfluff, VS Code. Kingsrook files keep their
Apache-2.0 notice (NOTICE).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: James Maes <james@kof22.com>
2026-10-09 07:53:21 -05:00
..

Eclipse formatter

eclipse-formatter.xml is the Kingsrook Eclipse formatter profile (Kingsrook-Eclipse): 3-space indentation with spaces, and next-line braces for types, methods, constructors, blocks, switch, and enums. Origin: Kingsrook (qctl), Apache-2.0, unmodified.

It sets only the layout settings that differ from Eclipse's defaults, so it is the lightweight companion to the full IntelliJ scheme; Checkstyle (../java) is the authority in CI.

Eclipse

Window → Preferences → Java → Code Style → Formatter → Import… → choose eclipse-formatter.xml → Apply. Enable Java → Editor → Save Actions → Format source code to format on save.

VS Code (Language Support for Java by Red Hat)

The extension uses Eclipse formatter profiles:

"java.format.settings.url": "https://raw.githubusercontent.com/KofTwentyTwo/standards/main/configs/eclipse/eclipse-formatter.xml",
"java.format.settings.profile": "Kingsrook-Eclipse"

(already in ../vscode/settings.json).

Command line (optional)

Spotless can apply the same profile in a build (eclipse().configFile("eclipse-formatter.xml")). It is optional: the profile does not cover every Kingsrook rule (for example if( with no space), so Checkstyle remains the required gate (K22-CODE-JV-02).