Indent Finder 1.0

 Indent Finder 1.0 details
 Developer:
  Philippe Fremy
 Downloads:
  44
 License:
 Shareware
 Size:
 49152 MB
 Price:
 0.00$
 Version:
 1.0
 Operating System:
  Windows All
 System requirements:
 
 Date added:
 2009-02-27
 Date updated:
 2009-02-27
 Price:
 0.00$




 Indent Finder description

  Indent  Finder  EXCELENT AWARD Introduction
Indentation of external program sources is a common problem. Some people use 2 spaces, some 4 spaces, some tabulations, some (horror!) mix tab and spaces. Text editors have usually options helping to deal with the way you indent your files. Pressing tab will insert spaces of tabulations depending on your settings. However, it only works properly with your own files, which have been indented in your own way.
As soon as you start editing external sources, you are likely to face a different indentation. Then your careful editor setting will simply fuck up the file you edit unless the guy did use the same indentation as yours. And you may not notice it. For example if I indent with tab but sets them to be displayed as four columns and if I edit a file indented with 4 spaces, all the lines I create will be indented with tab. They will render fine on my editor, but probably not on someone else's editor.

It is especially annoyhing if you program in python as the indentation is part of the program structure.

I haven't found (yet) an editor that deals properly with this problem. The solution however is simple: the text editor must find the indentation used within a file and tune its settings according to this. This is what Indent Finder does.



Description
Indent Finder is a python script that reads a file and tells you what indentation is used inside the file. The indentation analysis works on any language. It was tested successfully with C, C++, python and Java code.
The current version provides helps for the integration with vim. I hope other editors will pick either the script or the idea, and that auto-detecting indentation will become common amongst text editors. I am releasing the code under the BSD License to encourage this.

The script is written in python because it was quick and easy way to write it.

Related keywords:

Related software

InstallConstruct 7.0 - (2007-08-21)
InstallConstruct is a Windows installer, doesn't require programming background.
License: Commercial Size: 4.74 MB Price: 395.00$ Downloads: 101 [Download]
TActiveMovie 5.10 - (2007-08-18)
This Delphi/C++Builder component gives you full access to Microsoft Media Player
License: Demo Size: 1.76 MB Price: 149.00$ Downloads: 90 [Download]
AniGif lite ActiveX control 2.0 - (2007-08-26)
An AniGif lite ActiveX control can display animated or static Gif files.
License: Demo Size: 0.13 MB Price: 39.95$ Downloads: 54 [Download]
BackEdit 8 - (2007-11-11)
Scriptable programmer's editor with syntax highlighting;database editor,xml edit
License: Freeware Size: MB Price: 0.00$ Downloads: 113 [Download]
NObject O/R Mapping Framework 2.0.0.1087 - (2006-10-24)
An O/R Mapping (Object-Relation Mapping) framework for Microsoft .NET platform.
License: Shareware Size: 3.22 MB Price: 249.00$ Downloads: 69 [Download]
Home | New | Submit | Link to us | Contact Copyright © RoxySoft.com [0.293 s] asdf