Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/usernamehw/vscode-indent-one-space
Move code left or right with a distance of one whitespace.
https://github.com/usernamehw/vscode-indent-one-space
indentation vscode-extension
Last synced: 4 months ago
JSON representation
Move code left or right with a distance of one whitespace.
- Host: GitHub
- URL: https://github.com/usernamehw/vscode-indent-one-space
- Owner: usernamehw
- License: mit
- Created: 2017-11-09T14:16:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-07T07:46:41.000Z (about 2 years ago)
- Last Synced: 2024-04-28T03:19:04.543Z (10 months ago)
- Topics: indentation, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=usernamehw.indent-one-space
- Size: 1.34 MB
- Stars: 11
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[![Version](https://img.shields.io/visual-studio-marketplace/v/usernamehw.indent-one-space)](https://marketplace.visualstudio.com/items?itemName=usernamehw.indent-one-space)
[![Installs](https://img.shields.io/visual-studio-marketplace/i/usernamehw.indent-one-space)](https://marketplace.visualstudio.com/items?itemName=usernamehw.indent-one-space)
[![Rating](https://img.shields.io/visual-studio-marketplace/r/usernamehw.indent-one-space)](https://marketplace.visualstudio.com/items?itemName=usernamehw.indent-one-space)## Features
You can move selected code left or right with the Spacebar key.
![Moving left or right with hotkeys](https://raw.githubusercontent.com/usernamehw/vscode-indent-one-space/master/img/demo.gif "Theme: Palenight")
## Settings
```javascript
"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