Download Padre


Padre tries to eliminate the frustration of people who need to work on a project which is using indentation in the incorrect way. Regardless of what the person thinks what is the incorrect way.

Padre can try to guess the indentation style of the current file (and later of the current project) and use the indentation method that is the standard in trhe specific files.

This means when you hit the TAB key, Padre will insert a TAB or 4 spaces or 2 space or
  • Depending what the people who wrote the specific file thought should be the right choice. Padre can also recognize when there is no consistent indentation and warn you about it. The Tools -> Preferences -> Indentation is the place where you can configure the behavior of Padre.
    • Possible values: no/same level/deep
    • There are at least two levels of auto-indentation:
      1. when ENTER is pressed indent to exactly the same level as the previous line
      2. if there is an opening brace { on the previous line, indent one level more/li>