This article relies too much on references to primary sources. Please improve this by adding secondary or tertiary sources. (May 2014) (Learn how and when to remove this template message)
Kate
Kate 21.12.0 in KDE Plasma 5
Developer(s)KDE
Initial release2001; 20 years ago (2001)
Stable release
21.12.0[1] Edit this on Wikidata / 2 December 2021; 24 days ago (2 December 2021)
Preview release
21.07.90[2] Edit this on Wikidata / 27 July 2021; 4 months ago (27 July 2021)
Repositoryinvent.kde.org/utilities/kate
Written inC++, Qt
Operating system
TypeSource code editor
LicenseLGPL, GPL
Websitekate-editor.org Edit this at Wikidata

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.

History

"Kate the Cyber Woodpecker" is the current mascot of Kate editor, designed by Tyson Tan in 2021[7] and replacing the earlier version designed in 2014.[8]
"Kate the Cyber Woodpecker" is the current mascot of Kate editor, designed by Tyson Tan in 2021[7] and replacing the earlier version designed in 2014.[8]

Kate has been part of the KDE Software Compilation since release 2.2 in 2001.[9] 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, and the LaTeX front-end Kile.[citation needed]

Kate has won the advanced text editor comparison in Linux Voice magazine.[10]

As of July 2014, development had started to port Kate, along with Dolphin, Konsole, KDE Telepathy, and Yakuake, to KDE Frameworks 5.[11]

Features

Kate is a source code editor that features syntax highlighting for over 300 file formats with code folding rules.[12] The syntax highlighting is extensible via XML files.[13] It supports UTF-8, UTF-16, ISO-8859-1 and ASCII encoding schemes and can detect a file's character encoding automatically.[citation needed]

Kate's main text editor widget is called KatePart, which is reusable under the terms of the LGPL version 2 license.[14] It must not be confused with the KParts, a KDE plugin framework for user interface components that Kate also uses.[15]

Kate can be used as a modal text editor through its vi input mode.[16]

Kate features multiple document interface, window splitting, project editing[17] 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.[18]

The "quick open" feature allows searching opened files by name for quick recalling.[19] Line modification indicators highlight lines with unsaved changes and lines added in the current session.[20][21]

Being a KDE application, Kate transparently opens and saves files over all protocols supported by KIO libraries. This includes HTTP, FTP, SSH, SMB and WebDAV, among others.[citation needed]

As of September 2021, unlike Xed, 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, and the ability to jump to a line number.[22]

See also

References

  1. ^ https://invent.kde.org/utilities/kate/-/tags/v21.12.0.
  2. ^ https://invent.kde.org/utilities/kate/-/tags/v21.07.90.
  3. ^ "Distribution Packages". Kate-editor.org. KDE. 9 July 2010. Retrieved 23 March 2014.
  4. ^ "Distributions Shipping KDE". Kde.org. KDE. Retrieved 23 March 2014.
  5. ^ "Kate on Windows". kate-editor.org. KDE. 28 January 2016. Retrieved 10 February 2016.
  6. ^ "Kate on Mac OS". kate-editor.org. KDE. 9 July 2010. Retrieved 10 September 2016.
  7. ^ "Let's welcome Kate the Cyber Woodpecker". Kate. 2021-04-28. Retrieved 2021-04-29.
  8. ^ "Kate's Mascotthe Woodpecker". Kate | Get an Edge in Editing. 2014-10-12. Retrieved 2017-07-20.
  9. ^ "2.1 to 2.2 Changelog". KDE.org. Retrieved 2015-07-02.
  10. ^ "Issue 2 is Out!". LinuxVoice.com. Retrieved 2015-07-02.
  11. ^ "KDE SC 4.14 wird 4er-Reihe abschließen". Golem.de (in German). 2014-07-10.
  12. ^ "kate.git". Projects.KDE.org. Archived from the original on 2013-09-09. Retrieved 2020-01-29.
  13. ^ Cullmann, Christoph (2005-03-24). "Writing a Syntax Highlighting File | Kate | Get an Edge in Editing". Kate-Editor.org. Retrieved 2015-07-02.
  14. ^ "KatePart | Kate | Get an Edge in Editing". Kate-Editor.org. Retrieved 2015-07-02.
  15. ^ "KParts - KParts". api.kde.org. Retrieved 2020-10-30.
  16. ^ "KDE's Kate Text Editor Gets Vi Input Mode". ArsTechnica.com. 2008-10-27. Retrieved 2009-05-04.
  17. ^ "Using the Project Plugin in Kate". 2012-11-02. Retrieved 2014-09-24.
  18. ^ "Using Sessions". Docs.KDE.org. Retrieved 2015-07-02.
  19. ^ Cullmann, Christoph (10 January 2021). "Kate Text Editor - Quick Open". Kate. Retrieved 15 September 2021.
  20. ^ "Chapter 7. Configure KatePart". docs.kde.org. Show line modification markers
  21. ^ "Line Modification Indicators". docs.kde.org.
  22. ^ "The editor holds a clipboard history that contains up to 10 clipboard entries."

Media related to Kate (text editor) at Wikimedia Commons