Skip to main content

Opinionated code formatter for C++ code.

Project description

WFormat

Opinionated code formatter for C++ code.

Availability

limit: only support Format Document in IDEs for now

Visual Studio Code

  • win-x64
  • win-arm64
  • macos
  • linux-64
  • linux-arm64

Visual Studio

  • win-x64
  • win-arm64

XCode

  • macos

Python Package Index(PyPI)

  • win-x64
  • win-arm64
  • macos
  • linux-64
  • linux-arm64

Tutorials

Installation

Use Visual Studio Code Extension

Install wformat from extension market.

In any C++ file, Press ctrl + alt + P to bring up the command menu.

Type Format Document With... select Config Default Formatter... pick wformat.

Next time you call Format Document, vscode will use wformat.

Use Visual Studio Extension

Install wformat from extension market.

By default, you can only click Run WFormat in your Right Click Menu to format on the file.

You can find wformat.General(or search wformat) in Tools > Options menu.

By change Override default formatter to True, you can use Format Document(ctrl + K, ctrl + D) with wformat instead.

Use as console app from Python Package Index (PyPI)

Run pip install wformat, then you can use wformat in your console.

Usage

Run wformat -v to check your current version.

Run wformat or wformat -h to get the usage help doc. Find developer friendly use examples under the tutorials: section.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

wformat-0.1.3-py3-none-win_amd64.whl (9.7 MB view details)

Uploaded Python 3Windows x86-64

wformat-0.1.3-py3-none-win32.whl (9.7 MB view details)

Uploaded Python 3Windows x86

wformat-0.1.3-py3-none-macosx_15_0_arm64.whl (2.6 MB view details)

Uploaded Python 3macOS 15.0+ ARM64

File details

Details for the file wformat-0.1.3-py3-none-win_amd64.whl.

File metadata

  • Download URL: wformat-0.1.3-py3-none-win_amd64.whl
  • Upload date:
  • Size: 9.7 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wformat-0.1.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 082f85b3d98bfa1741daa7c99c1f6dd15276e431a0c00cb796a13718582b55b3
MD5 ec9fd5cc898a74c9fc7c25bf76f88e26
BLAKE2b-256 ece0e3cc9361bfa6430174dbefe38311fab7cbf10690d68775d07db314c91010

See more details on using hashes here.

Provenance

The following attestation bundles were made for wformat-0.1.3-py3-none-win_amd64.whl:

Publisher: publish-to-pypi.yml on Ziwei-Wei/wformat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wformat-0.1.3-py3-none-win32.whl.

File metadata

  • Download URL: wformat-0.1.3-py3-none-win32.whl
  • Upload date:
  • Size: 9.7 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wformat-0.1.3-py3-none-win32.whl
Algorithm Hash digest
SHA256 dd3170a5c581a8e217c7cc00d158112145d520bdd3e4e778f5d0f2b75f49a8fb
MD5 7887707c395fd2025055322ddcb0e292
BLAKE2b-256 39e84040e808726a2ea56bb1a0b4b457576727f749c409cadd823eed4488f095

See more details on using hashes here.

Provenance

The following attestation bundles were made for wformat-0.1.3-py3-none-win32.whl:

Publisher: publish-to-pypi.yml on Ziwei-Wei/wformat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wformat-0.1.3-py3-none-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for wformat-0.1.3-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6dc0d19a90537ae12240b996b3238572fa37bb25e7ebdb8eb848ef8da5e696af
MD5 8673a36df0b6cbcbff62b3bdc63e632f
BLAKE2b-256 a2d581302f23ae235a80bf8c3e96884013552352aac442aeec5a7938d4fd03dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for wformat-0.1.3-py3-none-macosx_15_0_arm64.whl:

Publisher: publish-to-pypi.yml on Ziwei-Wei/wformat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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