Skip to content

What do you think about Visual Studio Marketplace? We are looking for feedback from developers like you! Take the survey

| Marketplace
Sign in
Visual Studio Code>Other>Center Editor WindowNew to Visual Studio Code? Get it now.

Center Editor Window

Kai Wood

|
23,454 installs
| (17) | Free
Centers your editor window at the current cursor position
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Center Editor Window

This extension centers your editor window at the current cursor position. Default shortcut is ctrl-l.

Centering the window

New in 2.1: Additional setting center-editor-window.threeStateToggle: true/false to enable toggling between centering the current line center, moving it to the top of the viewport and moving it to the bottom.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft