Beautify and compress Airtable formulas in VS Code with syntax-aware formatting, whitespace control, and smart line breaking.

Features
- Beautify: Format Airtable formulas with proper indentation and line breaks
- Minify: Compress formulas to reduce size while maintaining functionality
- Syntax Highlighting: Full support for
.formula files
- Multiple Styles: Choose from ultra-compact, compact, readable, JSON, and cascade formatting
- Customizable: Configure indentation, line length, quote style, and minification levels
Usage
- Install the extension
- Create a file with
.formula extension
- Write your Airtable formula
- Right-click and select "Airtable Formula: Beautify" or "Minify"
- Or use the title bar buttons when viewing a formula file
Extension Settings
This extension contributes the following settings:
airtableFormula.scriptRoot : Path to formula scripts directory
airtableFormula.beautify.style : Formatting style (ultra-compact, compact, readable, json, cascade)
airtableFormula.beautify.indentSize : Indentation size
airtableFormula.beautify.maxLineLength : Maximum line length
airtableFormula.beautify.quoteStyle : Quote style preference
airtableFormula.minify.level : Minification level
airtableFormula.minify.preserveReadability : Preserve whitespace for readability
Requirements
Release Notes
0.0.2
Initial release with beautify and minify functionality for Airtable formulas.
| |