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.6-py3-none-win_amd64.whl (5.2 MB view details)

Uploaded Python 3Windows x86-64

wformat-0.1.6-py3-none-win32.whl (5.2 MB view details)

Uploaded Python 3Windows x86

wformat-0.1.6-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.6-py3-none-win_amd64.whl.

File metadata

  • Download URL: wformat-0.1.6-py3-none-win_amd64.whl
  • Upload date:
  • Size: 5.2 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.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8153891bfe4346c0712ad966f5f14688250c6d14326bff03909fb4ce239fe8d6
MD5 fcd5d1101de8cd338b2782693cd279e6
BLAKE2b-256 cf988609bf28749f3adfe4c6876154dd1559e857bdad888624cc139538820258

See more details on using hashes here.

Provenance

The following attestation bundles were made for wformat-0.1.6-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.6-py3-none-win32.whl.

File metadata

  • Download URL: wformat-0.1.6-py3-none-win32.whl
  • Upload date:
  • Size: 5.2 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.6-py3-none-win32.whl
Algorithm Hash digest
SHA256 b27578fa6c9b613027ad9afd5f15931ee1b441d458708966347e4732745575ee
MD5 6be319f8a8f390ac193f2b8cdb53ac3b
BLAKE2b-256 684beeec256c12e5cb671b4afbb744c5f0856cac4783881e7a53e593996e31c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for wformat-0.1.6-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.6-py3-none-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for wformat-0.1.6-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 c2923b0b9fc1a51a2a37e6e4118a902015cf162f784658e0d5a77fe1ff1c1cd0
MD5 b96f332e0d69d136a27700ae9f799421
BLAKE2b-256 03b634b682808a9ce84ae6c151218d25009fe2b0bc445d90c147eda89a318ea4

See more details on using hashes here.

Provenance

The following attestation bundles were made for wformat-0.1.6-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