Kate (text editor)
Find sources: "Kate" text editor – news · newspapers · books · scholar · JSTOR (May 2014) (Learn how and when to remove this message)
Kate 24.12.0 in KDE Plasma 6 | |
Developer(s) | KDE |
---|---|
Initial release | 2001; 24 years ago (2001) |
Stable release | 24.12.1[1] Edit this on Wikidata
/ 9 January 2025 |
Repository | invent |
Written in | C++, Qt |
Operating system | |
Type | Source code editor |
License | LGPL, GPL |
Website | kate-editor |
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, multiple cursors and selections, regular expression support, and extensibility via plugins. The text editor's mascot is Kate the Cyber Woodpecker.
History
[edit ]Kate has been part of the KDE Software Compilation since release 2.2 in 2001.[8] 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.[9]
As of July 2014[update] , development had started to port Kate, along with Dolphin, Konsole, KDE Telepathy, and Yakuake, to KDE Frameworks 5.[10]
In 2022, the KDE text-editor KWrite was modified to use the same code base as Kate with deactivated features.[11]
Features
[edit ]Kate is a source code editor that features syntax highlighting for over 300 file formats with code folding rules.[12] [13] The syntax highlighting is extensible via XML files.[14] 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 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.[15]
Kate's main text editor widget is called KatePart, which is reusable under the terms of the LGPL version 2 license.[16] It must not be confused with the KParts, a KDE plugin framework for user interface components that Kate also uses.[17]
Kate can be used as a modal text editor through its vi input mode.[18]
Kate features multiple document interface, window splitting, project editing[19] 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.[20]
Kate includes the KDE terminal emulator Konsole through its Terminal Tool View plugin.[21] Since version 23.04, the terminal is also available on windows.[22]
The "quick open" feature allows searching opened files by name for quick recalling.[23] Line modification indicators highlight lines with unsaved changes and lines added in the current session.[24] [25]
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[update] , 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, the ability to jump to a line number,[26] and source control integration using Git [27] [28]
See also
[edit ]- List of KDE applications
- List of text editors
- Comparison of text editors
- List of computing mascots
- Computing mascots
References
[edit ]- ^ "Releases 24.12.1 2025年01月09日". 9 January 2025. Retrieved 5 February 2025.
- ^ "Distribution Packages". Kate. KDE. 9 July 2010. Retrieved 23 March 2014.
- ^ "Distributions Shipping KDE". Kde.org. KDE . Retrieved 23 March 2014.
- ^ "Kate on Windows". kate-editor.org. KDE. 28 January 2016. Retrieved 10 February 2016.
- ^ "Kate on Mac OS". kate-editor.org. KDE. 9 July 2010. Retrieved 10 September 2016.
- ^ "Let's welcome Kate the Cyber Woodpecker". Kate. 2021年04月28日. Retrieved 2021年04月29日.
- ^ "Kate's Mascotthe Woodpecker". Kate | Get an Edge in Editing. 2014年10月12日. Retrieved 2017年07月20日.
- ^ "2.1 to 2.2 Changelog". KDE.org. Retrieved 2015年07月02日.
- ^ "Issue 2 is Out!". LinuxVoice.com. Archived from the original on 2015年07月03日. Retrieved 2015年07月02日.
- ^ "KDE SC 4.14 wird 4er-Reihe abschließen". Golem.de (in German). 2014年07月10日.
- ^ Larabel, Michael. "KDE Starts April With Many Fixes, KWrite Internally Using The Same Code As Kate". www.phoronix.com. Phoronix Media. Retrieved 15 June 2022.
- ^ "kate.git". Projects.KDE.org. Archived from the original on 2013年09月09日. Retrieved 2020年01月29日.
- ^ "data/syntax · master · Frameworks / Syntax Highlighting Engine · GitLab". GitLab. Retrieved 11 September 2023.
- ^ Cullmann, Christoph (2005年03月24日). "Writing a Syntax Highlighting File | Kate | Get an Edge in Editing". Kate-Editor.org. Retrieved 2015年07月02日.
- ^ Cullmann, Christoph (January 2020). "Kate -LSP Client Status". kate-editor.org. Retrieved 15 June 2022.
- ^ "KatePart | Kate | Get an Edge in Editing". Kate-Editor.org. Archived from the original on 2014年10月18日. Retrieved 2015年07月02日.
- ^ "KParts - KParts". api.kde.org. Retrieved 2020年10月30日.
- ^ "KDE's Kate Text Editor Gets Vi Input Mode". ArsTechnica.com. 2008年10月27日. Retrieved 2009年05月04日.
- ^ "Using the Project Plugin in Kate". 2012年11月02日. Retrieved 2014年09月24日.
- ^ "Using Sessions". Docs.KDE.org. Retrieved 2015年07月02日.
- ^ "Terminal Tool View Plugin". docs.kde.org. Retrieved 15 June 2022.
- ^ "Make Konsole work on Windows (!814) · Merge requests · Utilities / Konsole · GitLab". GitLab. 2023年02月20日. Retrieved 2024年01月03日.
- ^ Cullmann, Christoph (10 January 2021). "Kate Text Editor - Quick Open". Kate. Retrieved 15 September 2021.
- ^ "Chapter 7. Configure KatePart". docs.kde.org.
Show line modification markers
- ^ "Line Modification Indicators". docs.kde.org.
- ^ "The editor holds a clipboard history that contains up to 10 clipboard entries."
- ^ Crume, Jacob (16 April 2021). "Kate Editor Set to Become KDE's Answer to Microsoft's Visual Studio Code". It's FOSS News. Retrieved 15 June 2022.
- ^ "Using Kate's Git Features". February 2023.
External links
[edit ]Media related to Kate (text editor) at Wikimedia Commons
- Applications using D-Bus
- Free text editors
- KDE Applications
- Unix text editors
- Cross-platform free software
- Free software for Linux
- Free software for Windows
- Free software for macOS
- Software using the GNU Lesser General Public License
- Software using the GNU General Public License
- Free software programmed in C++
- Software that uses Qt