42 C-Format is a VScode formatting provider extension for c_formatter_42, which is a c-language formatter that conforms to Norm v3 in 42 schools.
Provide document formatting using c_formatter_42.
- Installing
c_formatter_42
is required.
$ pip3 install c_formatter_42
$ pip3 install --user c_formatter_42 // if you don't have privilege
- Then enable formatting with 42 C-Format, adding configuration as below.
{
"[c]": {
"editor.defaultFormatter": "keyhr.42-c-format"
},
}
c_formatter_42
(GitHub Repository)
Issues and pull requests are welcomed.
Added windows support.
Impoved output when catching an error.
Added an instruction for installing c_formatter_42.
Fixed the usage instruction.
Initial release.