Skip to content

FlyingJalapeno/clang-format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

clang-format

The custom clang-format config file used in Flying Jalapeño iOS projects.

Setting Up Clang Format for Xcode Projects

  1. Install the ClangFormat-Xcode Plugin
    Download here or install via Alcatraz
  2. Copy The .clang-format file in this repository to the root of your Project
  3. Set the plugin to use your custom file by selecting the "Edit" > "Clang Format" > "File" in the Xcode menu bar.
  4. Set the plugin to work on every file save by selecting the "Edit" > "Clang Format" > "Enable Format on Save" in the Xcode menu bar.

Using the Clang Format Plugin

If you have use the steps above, the formatting will occur automatically on every file save. No other effort is needed.

For other configurations, refer to the documentation on the ClangFormat-Xcode's README for more information.

Modifying this Configuration File

You can find more information about clang-format options on the clang llvm website

Credits

This file was originally copied from https://github.com/haaakon/Apple-clang-format before being modified for our projects.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published