VS Code extension that formats selection or entire document with a single keybind.
- Formats selected code when text is selected
- Formats entire document when nothing is selected
- Works with all VS Code formatters
Press Ctrl+K Ctrl+D (Windows/Linux) or Cmd+K Cmd+D (macOS) to format.
- Open
Preferences → Keyboard Shortcuts - Search for
conditionalFormat.format - Assign your preferred keybind
Install from the VS Code Marketplace or search "Conditional Format" in VS Code extensions.
MIT