Settings

The extension contributes a small set of settings and defaults. Configure them in your VS Code settings.json (User or Workspace).

ree.reettierPath

  • Type: string
  • Default: ""

Absolute path to the reettier executable used for formatting. Leave it empty to use reettier from your PATH. Set it when Reettier is installed somewhere that isn't on your PATH:

{
    "ree.reettierPath": "/Users/you/.local/bin/reettier"
}

Language defaults

The extension applies these defaults for the ree language automatically - you can override them, but you rarely need to set them yourself:

{
    "[ree]": {
        "editor.defaultFormatter": "reepolee.ree-templates"
    },
    "emmet.includeLanguages": {
        "ree": "html"
    }
}
  • editor.defaultFormatter makes the extension the formatter for .ree files, so Format Document and format-on-save use reettier.
  • emmet.includeLanguages enables Emmet HTML abbreviations inside Ree files.

Command

The extension also contributes a command:

CommandPalette title
ree.formatFormat ree Template