IndentConsistencyCop 1.20.016

IndentConsistencyCop is a Vim plugin that examines the indent of the buffer and analyzes the used indent widths and methods.
IndentConsistencyCop is a Vim plugin that examines the indent of the buffer and analyzes the used indent widths and methods.

In order to achieve consistent indentation, you need to agree on the indentation width (e.g. 2, 4 or 8 spaces), and the indentation method (only tabs, only spaces, or a mix of tabs and spaces that minimizes the number of spaces and is called 'softtabstop' in VIM).
Unfortunately, different people use different editors and cannot agree on "the right" width and method. Consistency is important, though, to make the text look the same in different editors and on printouts. If any editor inadvertently converts tabs and spaces, version control and diff'ing will be much harder to do.
The IndentConsistencyCop examines the indent of the buffer and analyzes the used indent widths and methods. If there are conflicting ones or if bad combinations of tabs and spaces are found, it alerts you and offers help in locating the offenders - just like a friendly policeman:

:IndentConsistencyCop
Found inconsistent indentation in this buffer; generated from these
conflicting settings:
- tabstop (1838 of 3711 lines)

last updated on:
July 22nd, 2008, 1:47 GMT
price:
FREE!
developed by:
Ingo Karkat
homepage:
www.vim.org
license type:
GPL (GNU General Public License) 
category:
ROOT \ Text Editing&Processing \ Vim Plugins

FREE!

In a hurry? Add it to your Download Basket!

user rating 8

3.0/5
 

0/5

Rate it!

Add your review!

SUBMIT