keyhr / vscode-42-c-format

A vscode extension to provide formatting from c_formatter_42

Home Page:https://marketplace.visualstudio.com/items?itemName=keyhr.42-c-format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

42 C-Format

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.

Features

Provide document formatting using c_formatter_42.

feature gif

Usage

$ 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"
    },
}

Requirements

Contributions

Issues and pull requests are welcomed.

Release Notes

0.0.5

Added windows support.

0.0.4

Impoved output when catching an error.

0.0.3

Added an instruction for installing c_formatter_42.

0.0.2

Fixed the usage instruction.

0.0.1

Initial release.

About

A vscode extension to provide formatting from c_formatter_42

https://marketplace.visualstudio.com/items?itemName=keyhr.42-c-format

License:MIT License


Languages

Language:TypeScript 100.0%