ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Normalize Indentation

by Ennosuke ST2/ST3

A Sublime Text plugin to normalize identation for a file.

Labels indentation

Details

Installs

  • Total 11K
  • Win 6K
  • OS X 3K
  • Linux 2K
Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8
Windows 7 1 2 0 4 2 6 2 4 1 0 0 8 2 2 2 1 0 1 2 3 3 1 2 4 0 1 2 3 2 2 1 5 3 2 5 3 2 0 3 2 1 5 3 2 2
OS X 2 2 1 2 2 1 2 2 1 0 0 0 1 0 2 0 1 2 4 2 0 0 0 2 0 1 2 1 1 1 0 0 0 2 0 1 1 0 0 1 1 1 0 1 0 1
Linux 1 0 2 0 0 1 1 0 2 1 0 0 2 1 1 1 0 0 1 4 1 0 0 0 1 3 0 1 0 1 0 0 0 1 0 1 0 0 4 0 1 0 0 2 0 2

Readme

Source
raw.​githubusercontent.​com

Normalize-Identation

A Sublime Text plugin to normalize identation for a file.

Install

Sublime Text 3 Package Control

Install via the package control under https://packagecontrol.io/ . Search for “Normalize Indentation”

Manual

You can also install it by cloning the repo into your Packages folder, but the installation via Package Control is recommended

Usage

It's pretty straight forward to use either choose “Tools” -> “Normalize Indentation” or use the shortcut (default Ctrl+Alt+i). There are also options to let it run automatically on load.

The plugin uses the setttings from the language definition file to determine if to use tabs or spaces and which width is wanted. If you don't want the settings from the default settings you can define them in the language user settings or your global user settings.