Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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