HOME

TheInfoList



OR:

The KDE Advanced Text Editor, or Kate, is a source code editor developed by the KDE free software community. It has been a part of KDE Software Compilation since version 2.2, which was first released in 2001. Intended for software developers, it features syntax highlighting, code folding, customizable layouts, regular expression support, and extensibility. The text editor's mascot is Kate the Cyber Woodpecker.


History

Kate has been part of the KDE Software Compilation since release 2.2 in 2001. Because of KParts technology, it is possible to embed Kate as an editing component in other KDE applications. Major KDE applications which use Kate as an editing component include the integrated development environment KDevelop, the web development environment
Quanta Plus Quanta Plus, originally called Quanta, is a web Integrated development environment (IDE) for HTML, XHTML, CSS, XML, PHP and any other XML-based languages or scripting languages. Quanta was licensed under GPL before the release of version 2.0 fi ...
, and the LaTeX front-end Kile. Kate has won the advanced text editor comparison in '' Linux Voice'' magazine. , development had started to port Kate, along with Dolphin, Konsole, KDE Telepathy, and Yakuake, to KDE Frameworks 5. In 2022, the KDE text-editor KWrite was modified to use the same code base as Kate with deactivated features.


Features

Kate is a source code editor that features syntax highlighting for over 300 file formats with code folding rules. The syntax highlighting is extensible via XML files. It supports UTF-8, UTF-16,
ISO-8859-1 ISO/IEC 8859-1:1998, ''Information technology — 8-bit single-byte coded graphic character sets — Part 1: Latin alphabet No. 1'', is part of the ISO/IEC 8859 series of ASCII-based standard character encodings, first edition published in 1 ...
and ASCII encoding schemes and can detect a file's character encoding automatically. Kate offers code completion and reference finding for various programming languages through its Language Server Protocol Client plugin. The default configuration supports C, C++, D, Fortran, Go, Latex, Python, Rust, and
OCaml OCaml ( , formerly Objective Caml) is a general-purpose programming language, general-purpose, multi-paradigm programming language which extends the Caml dialect of ML (programming language), ML with object-oriented programming, object-oriented ...
. Kate's main text editor widget is called ''KatePart'', which is reusable under the terms of the LGPL version 2 license. It must not be confused with the KParts, a KDE plugin framework for user interface components that Kate also uses. Kate can be used as a modal text editor through its '' vi'' input mode. Kate features multiple document interface, window splitting, project editing and sessions to facilitate editing multiple documents. Using ''sessions'', one can customize Kate for different projects by saving the list of open files, the list of enabled plug-ins and the window configuration. Kate includes the KDE terminal emulator Konsole through its Terminal Tool View plugin. As of April 2021, this feature is not available for the Windows version of Kate. The "quick open" feature allows searching opened files by name for quick recalling. Line modification indicators highlight lines with unsaved changes and lines added in the current session. Being a KDE application, Kate transparently opens and saves files over all protocols supported by
KIO KIO (KDE Input/Output) is a system library incorporated into KDE Frameworks 5 and KDE Software Compilation 4. It provides access to files, web sites and other resources through a single consistent API. Applications, such as Konqueror and Dolp ...
libraries. This includes HTTP, FTP, SSH, SMB and WebDAV, among others. , unlike
Xed Xed is a lightweight text editor forked from Pluma and is the default text editor in Linux Mint. Xed is a graphical application which supports editing multiple text files in one window via tabs. It fully supports international text through it ...
, ''Kate'' is equipped with a session manager which allows naming, saving, and restoring sessions, meaning a list of momentarily open file tabs. Saved sessions are stored as key-value-formatted *.katesession files into ~/.local/share/kate/sessions/. Other features are a clipboard history with up to ten items, the ability to jump to a line number,"The editor holds a clipboard history that contains up to 10 clipboard entries."
/ref> and
source control In software engineering, version control (also known as revision control, source control, or source code management) is a class of systems responsible for managing changes to computer programs, documents, large web sites, or other collections o ...
integration using Git


See also

* List of KDE applications * List of text editors * Comparison of text editors * List of computing mascots *
Computing mascots Computing is any goal-oriented activity requiring, benefiting from, or creating computing machinery. It includes the study and experimentation of algorithmic processes, and development of both hardware and software. Computing has scientific, e ...


References


External links

* {{KDE Applications using D-Bus Free text editors KDE Applications Unix text editors