Kate (text editor)
Kate in KDE Plasma Desktop
|Stable release||3.11 / August 14, 2013|
|Written in||C++ (Qt)|
Kate (short for KDE Advanced Text Editor) is a text editor made by KDE. It has been a part of K Desktop Environment 2 since 2001. Geared towards software developers, it features syntax highlighting, code folding, customizable layouts that can be recalled via presets, regular expression support and extensibility.
Kate has been part of KDE Software Compilation since release 2.2 in 2001. Because of the KParts technology, it is possible to embed Kate as an editing component in other KDE applications. The integrated development environment KDevelop, the web development environment Quanta Plus, and the LaTeX front-end Kile are three of the major KDE applications making use of Kate as an editing component.
Kate is a programmer's text editor with syntax highlighting for over 200 filetypes. The syntax highlighting is extendable via XML files and can also specify code folding rules. It has support for search and replace using regular expressions and supports auto-detection of file encodings. Supported encodings include UTF-8, UTF-16, ISO-8859-1 and ASCII.
By using sessions, one can customize Kate for different projects. When using sessions, the list of open files, the list of enabled plug-ins and the window configuration are saved, allowing Kate to be customized for a given project.
Kate is built using the KPart technology and the Kate application is just a graphical shell around the editor component, referred to as katepart. This KPart component is embedded by other KDE programs as well. The Kate application uses the Konsole kpart to get an embedded terminal.
Plugins and scripting
Kate can be extended through plugins written in C++ and scripts written in QtScript. Functionality implemented as plugins includes file browsers, ctags support and functionality for building software projects and quickly jumping to compilation errors.