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.defaultFormattermakes the extension the formatter for.reefiles, so Format Document and format-on-save use reettier.emmet.includeLanguagesenables Emmet HTML abbreviations inside Ree files.
Command
The extension also contributes a command:
| Command | Palette title |
|---|---|
ree.format | Format ree Template |
Related
- Formatting - how formatting works
- Reettier - the formatter binary behind the extension