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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b796d4c6fbbd4fa54067dbc5a2a6eb29ae850c3638b5864e5706b7f07e15854e
|
|
| MD5 |
2f17d9d0c3e1e720e02a5f77c7f678d6
|
|
| BLAKE2b-256 |
3c6b452fa2f6d2008b52fcb332c0018509fa62fcaeb7a3dcd31431393915bb2f
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wformat-0.1.4-py3-none-win_amd64.whl -
Subject digest:
b796d4c6fbbd4fa54067dbc5a2a6eb29ae850c3638b5864e5706b7f07e15854e - Sigstore transparency entry: 508085557
- Sigstore integration time:
-
Permalink:
Ziwei-Wei/wformat@3aed6ac0263673092ad2ccb94adcb574515da44c -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Ziwei-Wei
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@3aed6ac0263673092ad2ccb94adcb574515da44c -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a668eb82b9f81d0cd7ade328f0927923a3492b7d8acd49056e36d722909fa77
|
|
| MD5 |
71f79371f1b83f5443e5e99e7414a5b0
|
|
| BLAKE2b-256 |
ac54c1358d4e382d63f6cea97c16fee91b0fb4f00872cf2f81e08b64ceff980f
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wformat-0.1.4-py3-none-win32.whl -
Subject digest:
7a668eb82b9f81d0cd7ade328f0927923a3492b7d8acd49056e36d722909fa77 - Sigstore transparency entry: 508085637
- Sigstore integration time:
-
Permalink:
Ziwei-Wei/wformat@3aed6ac0263673092ad2ccb94adcb574515da44c -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Ziwei-Wei
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@3aed6ac0263673092ad2ccb94adcb574515da44c -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file wformat-0.1.4-py3-none-macosx_15_0_arm64.whl.
File metadata
- Download URL: wformat-0.1.4-py3-none-macosx_15_0_arm64.whl
- Upload date:
- Size: 2.6 MB
- Tags: Python 3, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69615a263b2f4dc5899748834a293c4fe5e389a4f6e2805a0ced1289288dc52e
|
|
| MD5 |
878107df2d4db300d09789ce560ec153
|
|
| BLAKE2b-256 |
3e880f0aa5f3c3230befdd5e07833f68ae97587279c4f2a6ed9d56abab9c0011
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wformat-0.1.4-py3-none-macosx_15_0_arm64.whl -
Subject digest:
69615a263b2f4dc5899748834a293c4fe5e389a4f6e2805a0ced1289288dc52e - Sigstore transparency entry: 508085596
- Sigstore integration time:
-
Permalink:
Ziwei-Wei/wformat@3aed6ac0263673092ad2ccb94adcb574515da44c -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Ziwei-Wei
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@3aed6ac0263673092ad2ccb94adcb574515da44c -
Trigger Event:
workflow_dispatch
-
Statement type: