Skip to main content

Use uncrustify to format the objective-c files under the specified project path

Project description

uncrustify-objc –help

Usage: uncrustify-objc [OPTIONS] PROJECT_PATH

uncrustify-obj is used to format the objective-c files under the specified project path.

For the uncrustify.cfg config file, it will search it recursively from the project directory to its top parent directory. If none, the ~/uncrustify.cfg or ~/.uncrustify/uncrustify.cfg will be assumed to use.

Configure the uncrustify_ignore in the project path to make a path blacklist which matched items will not be formatted. It uses the gitignore file template, more documentation could be found from https://git-scm.com/docs/gitignore.

By default, it will search the ignore file from the project path, if not specify with –ignore-file. Besides, there is a global ignore file located ~/.uncrustify/uncrustify_ignore_global which will be combined to the target ignore spec.

If the project path is under the git version control, passing the –git- only option will make the changed source files to be used as source file list, the ignore files will be omitted because the git-scm already used the gitignore spec.

Highly recommend you to make a shell alias like alias uncrustify-objc =’uncrustify-objc –git-only’.

Options:
-c, --cfg-file CFG_FILE

The CFG config file used to format.

-i, --ignore-file IGNORE_FILE

The ignore file used to ignore the matching files for formatting.

-g, --git-only

Format the current git staged and unstaged files only.

-n, --dry-run

Do not format any files, but show a list of files to be formatted.

-v, --verbose

Enables verbose mode.

--help

Show this message and exit.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uncrustify-objc-1.4.tar.gz (7.7 kB view details)

Uploaded Source

File details

Details for the file uncrustify-objc-1.4.tar.gz.

File metadata

  • Download URL: uncrustify-objc-1.4.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.32.2 CPython/2.7.15

File hashes

Hashes for uncrustify-objc-1.4.tar.gz
Algorithm Hash digest
SHA256 0a0a6defb33316753c5bb8bad2843c5847587467d3bd48b100f50528273c923e
MD5 60cba92fb216d7432408e75baea63629
BLAKE2b-256 61bcc42f4bba1124775aab01fcd3c1713aed18e18801d87f9eab5363a048ef59

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page