KateParts editor component supports a variety of autoindenting modes, designed for different text formats. You can pick from the available modes using the → menu. The autoindent modules also provide a function → which will recalculate the indentation of the selected or current line. Thus, you may reindent your entire document by selecting all the text and activating that action.
All the indent modes use the indentation related settings in the active document.
Available Autoindent Modes
Selecting this mode turns automatic indenting off entirely.
This indenter simply keeps the indentation similar to the previous line with any content other than whitespace. You can combine this with using the indent and unindent actions for indenting to your own taste.
- C Style
An indenter for the functional programming language Haskell.
An indenter for the Lilypond notation language for music.
An indenter specifically for the Lisp scripting language and Lisp dialects.
An indenter specifically for the python scripting language.
- XML Style
An indenter specifically for XML like languages.