Skip to content

roralsorom/clang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ Clang-Format Generator

A modern, sleek web tool to generate .clang-format files from code examples or custom settings.

License: MIT HTML5 CSS3 JavaScript

Live Demo · Report Bug · Request Feature


📖 About

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!


✨ Features

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

🖼️ Preview

preview

About

A modern web-based .clang-format generator. Analyze code to auto-detect formatting style or customize settings manually. Only outputs changes from defaults.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors