Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 752 Bytes

Readme.md

File metadata and controls

38 lines (26 loc) · 752 Bytes

scmfmt

  • A simple sexp pretty printer or chicken scheme code formatter which works on stdin / stdout.

Installation

sudo chicken-install scmfmt

or clone the repo, enter the directory and exectue

sudo chicken-install 

This will place an scmfmt executable in your PATH.

Testing

scmfmt < yourFile.scm

You can also:

  • use vscode extension named "External formatters" to enable this extension if you add
 "externalFormatters.languages": {
        "scheme": {
            "command": "scmfmt",
        }
    }

to settings.json located in ~/.config/Code/User/settings.json or @ext:steefh.external-formatters.

Once enabled you can use Ctrl-Shift+I to format the document/file containing the code.