Skip to main content

C++ comment formatter

Project description

cpp_comment_format

Format code blocks.

From command line

Default style, print result to screen:

cpp_comment_format example.cpp

To modify in place:

cpp_comment_format -i example.cpp

Using a specific style:

cpp_comment_format --style "javadoc" --doxygen "@" example.cpp

Using pre-commit

Default style:

repos:
- repo: https://github.com/tdegeus/cpp_comment_format
  rev: v0.0.2
  hooks:
  - id: cpp_comment_format

Using a specific style:

repos:
- repo: https://github.com/tdegeus/cpp_comment_format
  rev: v0.0.2
  hooks:
  - id: cpp_comment_format
    args: ["--style", "javadoc", "--doxygen", "@"]

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

cpp_comment_format-0.2.1.tar.gz (13.0 kB view hashes)

Uploaded Source

Built Distribution

cpp_comment_format-0.2.1-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

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