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

https://github.com/lee-dohm/indentation-indicator

Atom package that adds an indicator to the status bar that shows the indentation width and type of the active editor.
https://github.com/lee-dohm/indentation-indicator

atom atom-package indentation status-bar status-bar-indicator

Last synced: 12 days ago
JSON representation

Atom package that adds an indicator to the status bar that shows the indentation width and type of the active editor.

Awesome Lists containing this project

README

        

# Indentation Indicator [![Build Status](https://travis-ci.org/lee-dohm/indentation-indicator.svg?branch=master)](https://travis-ci.org/lee-dohm/indentation-indicator) [![Dependency Status](https://david-dm.org/lee-dohm/indentation-indicator.svg)](https://david-dm.org/lee-dohm/indentation-indicator)

Adds an indicator to the status bar that shows the indentation width and type of the active editor.

Active editor with soft tabs enabled and two spaces:

![Soft tabs and two spaces](https://raw.githubusercontent.com/lee-dohm/indentation-indicator/master/soft-tabs.png)

Active editor with soft tabs disabled and four spaces:

![Hard tabs and four spaces](https://raw.githubusercontent.com/lee-dohm/indentation-indicator/master/hard-tabs.png)

## Configuration

* `indentation-indicator.spaceAfterColon` — When set to `true`, places a space between the colon and the number of spaces per indentation level.
* `indentation-indicator.indicatorPosition` — Control the placement of the indicator, `left` or `right`.

## Styles

The indentation indicator can be styled using the following classes:

* `.indentation-indicator` - For styling all instances of the indicator

It uses the following values from `ui-variables` as defaults in order to blend in to your theme:

* `@text-color` - Color of the indicator text

## License

[MIT](https://github.com/lee-dohm/indentation-indicator/blob/master/LICENSE.md)