MM2 & MeTTa Universal Code FormatterA structural formatting engine for parenthetical languages. Enforces standard 2-space indentation, strips unnecessary whitespace padding, and collapses standalone closing parentheses. [1] How to Install the Extension (.vsix)The extension is officially published to the Visual Studio Code Marketplace. You can search for it directly inside your editor or install it via the web registry. Method A: Install Direct from VS Code (Recommended)
Method B: Install local .vsix file
[2] How to Use on Any File ExtensionThe formatter is universally registered to ignore strict file limitations.
It handles Step 1: Format the Document ManuallyBecause keyboard shortcuts can vary depending on your personal keybindings or conflicting extensions, use the explicit menu commands to run the formatter:
Step 2: Configure the Default Formatter (Required if prompted)If VS Code asks you to install a formatter or shows a conflict prompt, you must explicitly set this engine as your default provider:
NOTE: Once configured, VS Code will permanently remember this choice for that file extension, preventing any future prompts to install alternative formatters. [3] Optional: Keyboard ShortcutsIf you prefer using the keyboard and have not overridden the default VS Code layout configurations, you can also trigger the formatting engine using these standard aliases:
https://github.com/user-attachments/assets/38029a1d-f518-465a-9959-9bba75f15ea4 |