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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3Windows x86

wformat-0.1.5-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.5-py3-none-win_amd64.whl.

File metadata

  • Download URL: wformat-0.1.5-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.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 61176533a13a5c1853a7a2fc322d1c8a7b048ba9c7b29a24b2daf002ca472641
MD5 82e16c30767c877f3987c0c124a89201
BLAKE2b-256 8ce859405dc3ab8b2f00bf365041c62f94fde7e7090e4ef421c5d266dda2cfce

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: wformat-0.1.5-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.5-py3-none-win32.whl
Algorithm Hash digest
SHA256 9335667d6ba1c79bf021bf515a73c1a003dc0304496bf7c394bd177d49a35e65
MD5 89dc86982a054f7a6f40e498e9c2aeb1
BLAKE2b-256 8c1c04904f27aed71585161fdda7d9a44b598d9002fb297ed99eb9de888332ae

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for wformat-0.1.5-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 aec712ee0eb2cf9a41dfa47918f6772fb67834fbbd73ecf7f31dec5538df99b2
MD5 bc74dc16634afc33635ab89552f670a4
BLAKE2b-256 2a5e77bfdb2f20090a7ac7bb5b3bb8dcc70629cff3a5adbff8af0b73cc37831c

See more details on using hashes here.

Provenance

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