Free Download
Current Page: Home > Development > Misc Software Development >

Download

License: Freeware Free
Downloads:
Publisher: Philippe Fremy
File size: 2.30MB
OS: Windows Vista, 2003, XP, 2000, 98, Me, NT, CE
Date added: 2009-10-27
Homepage: http://phil.freehackers.org/index.html
Category: Development

Description

"Indent Finder is a python script"


EditBy: 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. you can free download Indent Finder 1.3 now.

Keywords

indent

Related Software

  • Vistanita Duplicate Finder
    Find True Duplicate Files, Duplicate MP3 and Duplicate Pictures / photos.
  • Easy Duplicate Finder
    Free powerful tool, that helps you to find and remove duplicate files.
  • Windows XP Key Finder
    This software was created to help you recover the Microsoft Windows key.

  • Semantik (previously Kdissert) is a mindmapping-like tool.

  • Indent Finder is a python script

Publisher's Software

    Popular Searches

    Software by Letter

    A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Others

    New Release Software