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 9K
  • Win 5K
  • OS X 2K
  • Linux 2K
Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 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
Windows 0 2 4 5 4 3 2 8 8 3 3 1 6 9 6 6 3 3 4 5 5 7 5 2 1 5 4 4 1 3 5 6 3 6 2 6 7 6 2 4 1 3 6 4 3 3
OS X 0 6 1 2 0 0 1 2 1 4 0 1 1 4 0 1 3 3 5 1 1 0 2 1 3 0 1 3 1 2 1 0 1 1 1 4 3 4 0 0 2 1 1 1 0 1
Linux 0 2 0 1 0 2 3 1 2 0 0 1 1 2 0 1 1 0 0 3 0 2 1 3 0 0 3 2 0 1 1 0 0 1 2 1 0 1 2 0 5 1 1 3 2 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.