Skip to content

Auto‑format on Paste

Automatically format SQL whenever you paste it into the SSMS editor.

Enable it

  • Use the StyleSQL toolbar toggle: "Style on Paste".
  • Or open Settings and enable editor integration for paste formatting.

Toolbar overview

How it works

  • Pasting SQL into the editor triggers formatting immediately.

Note: "DDL only" and "Restore original" apply to auto‑format on execute and are configured in Settings.

Tips

  • Toggle on/off quickly from the toolbar as needed.
  • Use Undo (Ctrl+Z) to restore original formatting.