Using automatic indenting |
Prev | Working with the Kate editor | Next |
Kates editor component supports a variation of autoindenting modes, designed for different text formats. You can pick from the available modes using the → menu. The autoindent modules also provides 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.
You can set all sorts of configuration variables, including those related to indentation using Document Variables and File types.
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.
An indenter for C and similar languages, such as C++, C#, java, javascript and so on. This indenter will not work with scripting languages such as Perl or PHP.
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.
An indenter specifically for XML like languages.
Prev | Contents | Next |
Automatically Wrapping text | Up | Line Modification Indicators |