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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3Windows x86

wformat-0.1.4-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.4-py3-none-win_amd64.whl.

File metadata

  • Download URL: wformat-0.1.4-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.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b796d4c6fbbd4fa54067dbc5a2a6eb29ae850c3638b5864e5706b7f07e15854e
MD5 2f17d9d0c3e1e720e02a5f77c7f678d6
BLAKE2b-256 3c6b452fa2f6d2008b52fcb332c0018509fa62fcaeb7a3dcd31431393915bb2f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: wformat-0.1.4-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.4-py3-none-win32.whl
Algorithm Hash digest
SHA256 7a668eb82b9f81d0cd7ade328f0927923a3492b7d8acd49056e36d722909fa77
MD5 71f79371f1b83f5443e5e99e7414a5b0
BLAKE2b-256 ac54c1358d4e382d63f6cea97c16fee91b0fb4f00872cf2f81e08b64ceff980f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for wformat-0.1.4-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 69615a263b2f4dc5899748834a293c4fe5e389a4f6e2805a0ced1289288dc52e
MD5 878107df2d4db300d09789ce560ec153
BLAKE2b-256 3e880f0aa5f3c3230befdd5e07833f68ae97587279c4f2a6ed9d56abab9c0011

See more details on using hashes here.

Provenance

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