Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Indent one spaceNew to Visual Studio Code? Get it now.
Indent one space

Indent one space

Alexander

|
82,319 installs
| (26) | Free
Move code to left or right with a distance of one whitespace
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Version Installs Rating

Features

You can move selected code left or right with the Spacebar key.

Moving left or right with hotkeys

Settings

"indentOneSpace.workOnSingleLine": true,// Even if 1 character on 1 line is selected - the command will work.
"indentOneSpace.cramReversed": true,// Outdent lines even if one of them has reached column 0 (gutter).
"indentOneSpace.onlyCompleteRange": false,// Indent works only when selection has nothing or whitespace characters on the sides

Commands

  • extension.indentOneSpace default keybinding Space
  • extension.reverseIndentOneSpace default keybinding Shift+Space
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft