Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Center Align CodeNew to Visual Studio Code? Get it now.
Center Align Code

Center Align Code

clemg

|
254 installs
| (1) | Free
Center align your code in Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Center align code for Visual Studio Code

Tired of code that's all over the place? Meet center-align-code – the VSCode extension that gives your code the alignment it deserves. No more squinting or tilting your head to read lines. Just hit install and watch your code find its center!

Command palette:

  • >Center align code: Center aligns code
  • >Enable auto code centering: Enables auto code centering on save

Shortcuts:

  • ⌘E / ctrl+E: Center align code
  • ⌥⌘E / ctrl+alt+E: Enable auto code centering
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft