A modern, sleek web tool to generate .clang-format files from code examples or custom settings.
Tired of manually writing .clang-format files? This tool lets you:
- Paste your code and automatically detect your formatting style
- Customize settings with an intuitive UI
- Generate minimal configs that only include changes from LLVM defaults
No more guessing what SpacesInParentheses or BreakBeforeBraces should be!
| Feature | Description |
|---|---|
| 🔍 Code Analysis | Paste code to auto-detect formatting patterns |
| ⚙️ Manual Customization | Toggle all major clang-format options |
| 📦 Minimal Output | Only outputs settings that differ from defaults |
| 🎨 Syntax Highlighting | Color-coded YAML output |
| 📋 One-Click Copy | Copy config to clipboard instantly |
| 💾 Download File | Download .clang-format file directly |
| ⌨️ VS Shortcut Display | Shows Visual Studio format shortcut |
| 🌙 Modern Dark Theme | Sleek, GitHub-inspired design |
| ⚡ Real-time Updates | Config regenerates as you change options |
| 🏷️ Detected Settings | Shows what patterns were found in your code |
