Software:Kate (text editor)

From HandWiki
Short description: Text editor
Kate
Sc-apps-kate-editor.svg
Kate 21.12.0 screenshot.png
Kate 21.12.0 in KDE Plasma 5
Developer(s)KDE
Initial release2001; 23 years ago (2001)
Repositoryinvent.kde.org/utilities/kate
Written inC++, Qt
Operating system
TypeSource code editor
LicenseLGPL, GPL
Website{{{1}}}

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

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

Kate has been part of the KDE Software Compilation since release 2.2 in 2001.[7] 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.[8]

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

In 2022, the KDE text-editor KWrite was modified to use the same code base as Kate with deactivated features.[10]

Features

Kate is a source code editor that features syntax highlighting for over 300 file formats with code folding rules.[11][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 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.[14]

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

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

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

Kate includes the KDE terminal emulator Konsole through its Terminal Tool View plugin.[20] Since version 23.04, the terminal is also available on windows.[21]

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

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, the ability to jump to a line number,[25] and source control integration using Git[26][27]

See also

References

  1. "Distribution Packages". KDE. 9 July 2010. http://kate-editor.org/get-it/. 
  2. "Distributions Shipping KDE". KDE. http://www.kde.org/download/distributions.php. 
  3. "Kate on Windows". KDE. 28 January 2016. http://kate-editor.org/2016/01/28/kate-on-windows/. 
  4. "Kate on Mac OS". KDE. 9 July 2010. https://kate-editor.org/get-it/. 
  5. "Let's welcome Kate the Cyber Woodpecker". 2021-04-28. https://kate-editor.org/post/2021/2021-04-28-lets-welcome-kate-the-cyber-woodpecker/. 
  6. "Kate's Mascotthe Woodpecker". 2014-10-12. https://kate-editor.org/2014/10/12/kates-mascot-kate-the-woodpecker/. 
  7. "2.1 to 2.2 Changelog". http://www.kde.org/announcements/changelogs/changelog2_1to2_2.php. 
  8. "Issue 2 is Out!". http://www.linuxvoice.com/issue-2-is-out/. 
  9. "KDE SC 4.14 wird 4er-Reihe abschließen" (in de). 2014-07-10. http://www.golem.de/news/unix-desktop-kde-sc-4-14-wird-4er-reihe-abschliessen-1407-107792.html. 
  10. Larabel, Michael. "KDE Starts April With Many Fixes, KWrite Internally Using The Same Code As Kate" (in en). Phoronix Media. https://www.phoronix.com/scan.php?page=news_item&px=KDE-Starts-April-2022. 
  11. "kate.git". https://projects.kde.org/projects/kde/applications/kate/repository/revisions/master/show/part/syntax/data. 
  12. "data/syntax · master · Frameworks / Syntax Highlighting Engine · GitLab" (in en). https://invent.kde.org/frameworks/syntax-highlighting/-/tree/master/data/syntax. 
  13. Cullmann, Christoph (2005-03-24). "Writing a Syntax Highlighting File | Kate | Get an Edge in Editing". http://kate-editor.org/2005/03/24/writing-a-syntax-highlighting-file/. 
  14. Cullmann, Christoph (January 2020). "Kate -LSP Client Status". https://kate-editor.org/post/2020/2020-01-01-kate-lsp-client-status/. 
  15. "KatePart | Kate | Get an Edge in Editing". http://kate-editor.org/about-katepart/. 
  16. "KParts - KParts". https://api.kde.org/frameworks/kparts/html/index.html. 
  17. "KDE's Kate Text Editor Gets Vi Input Mode". 2008-10-27. https://arstechnica.com/open-source/news/2008/11/kdes-kate-text-editor-gets-vi-input-mode.ars. 
  18. "Using the Project Plugin in Kate". 2012-11-02. http://kate-editor.org/2012/11/02/using-the-projects-plugin-in-kate/. 
  19. "Using Sessions". http://docs.kde.org/stable/en/applications/kate/fundamentals-using-sessions.html. 
  20. "Terminal Tool View Plugin". https://docs.kde.org/stable5/en/kate/kate/kate-application-plugin-konsole.html. 
  21. "Make Konsole work on Windows (!814) · Merge requests · Utilities / Konsole · GitLab" (in en). 2023-02-20. https://invent.kde.org/utilities/konsole/-/merge_requests/814. 
  22. Cullmann, Christoph (10 January 2021). "Kate Text Editor - Quick Open" (in en). https://kate-editor.org/post/2021/2021-01-10-kate-quick-open/. 
  23. "Chapter 7. Configure KatePart". https://docs.kde.org/stable5/en/kate/katepart/config-dialog.html. "Show line modification markers" 
  24. "Line Modification Indicators". https://docs.kde.org/stable5/en/kate/katepart/kate-part-line-modification.html. 
  25. "The editor holds a clipboard history that contains up to 10 clipboard entries."
  26. Crume, Jacob (16 April 2021). "Kate Editor Set to Become KDE's Answer to Microsoft's Visual Studio Code". https://news.itsfoss.com/kate/. 
  27. https://kate-editor.org/post/2023/2023-02-01-using-kate-git-support/

External links