Skip to content

Shows a colored diff of clang-format and asks if patch should be applied.

Notifications You must be signed in to change notification settings

Resonance1584/clang-format-interactive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

clang-format-interactive

Shows a colored diff of changes that clang-format will produce on a given file and prompts to apply the changes. Uses LLVM style.

screen shot 2016-11-28 at 2 05 04 pm

Dependencies

  • clang-format
  • colordiff

Installation

Ensure script is executable and copy to somewhere on your path e.g.

chmod +x clang-format-interactive
cp clang-format-interactive /usr/local/bin/clang-format-interactive

Usage

clang-format-interactive filename.cpp

License

MIT

Author

Lewis Christie

About

Shows a colored diff of clang-format and asks if patch should be applied.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages