IndentConsistencyCop

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

IndentConsistencyCop Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Ingo Karkat
  • Publisher web site:
  • http://www.vim.org/scripts/script.php?script_id=1690

IndentConsistencyCop Tags


IndentConsistencyCop Description

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)


IndentConsistencyCop Related Software