Kate (text editor)

Last updated
Kate
Developer(s) KDE
Initial release2001;23 years ago (2001)
Stable release
R14.1.1 [1]   OOjs UI icon edit-ltr-progressive.svg / 20 November 2023
Repository invent.kde.org/utilities/kate
Written in C++, Qt
Operating system
Type Source code editor
License LGPL, GPL
Website kate-editor.org OOjs UI icon edit-ltr-progressive.svg

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.

Contents

History

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

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, 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

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, 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

Related Research Articles

<span class="mw-page-title-main">Konqueror</span> Web browser and file manager

Konqueror is a free and open-source web browser and file manager that provides web access and file-viewer functionality for file systems. It forms a core part of the KDE Software Compilation. Developed by volunteers, Konqueror can run on most Unix-like operating systems. The KDE community licenses and distributes Konqueror under GNU GPL-2.0-or-later.

<span class="mw-page-title-main">Plug-in (computing)</span> Software component that adds a specific feature to an existing software application

In computing, a plug-in is a software component that adds a specific feature to an existing computer program. When a program supports plug-ins, it enables customization.

<span class="mw-page-title-main">KDevelop</span> Integrated development environment

KDevelop is a free and open-source integrated development environment (IDE) for Unix-like computer operating systems and Windows. It provides editing, navigation and debugging features for several programming languages, and integration with build automation and version-control systems, using a plugin-based architecture.

gedit Linux text editor

gedit is a text editor designed for the GNOME desktop environment. It was GNOME's default text editor and part of the GNOME Core Applications until GNOME version 42 in March 2022, which changed the default text editor to GNOME Text Editor. Designed as a general-purpose text editor, gedit emphasizes simplicity and ease of use, with a clean and simple GUI, according to the philosophy of the GNOME project. It includes tools for editing source code and structured text such as markup languages.

<span class="mw-page-title-main">Syntax highlighting</span> Tool of editors for programming, scripting, and markup

Syntax highlighting is a feature of text editors that is used for programming, scripting, or markup languages, such as HTML. The feature displays text, especially source code, in different colours and fonts according to the category of terms. This feature facilitates writing in a structured language such as a programming language or a markup language as both structures and syntax errors are visually distinct. This feature is also employed in many programming related contexts, either in the form of colorful books or online websites to make understanding code snippets easier for readers. Highlighting does not affect the meaning of the text itself; it is intended only for human readers.

<span class="mw-page-title-main">Konsole</span> Terminal emulator

Konsole is a free and open-source terminal emulator graphical application which is part of KDE Applications and ships with the KDE desktop environment. Konsole was originally written by Lars Doelle. It ls licensed under the GPL-2.0-or-later and the GNU Free Documentation License.

<span class="mw-page-title-main">Notepad++</span> Text editor and source code editor for Windows

Notepad++ is a free and open-source text and source code editor for use with Microsoft Windows. It supports tabbed editing, which allows working with multiple open files in a single window. The product's name comes from the C postfix increment operator; it is sometimes referred to as npp or NPP.

This article provides basic comparisons for notable text editors. More feature details for text editors are available from the Category of text editor features and from the individual products' articles. This article may not be up-to-date or necessarily all-inclusive.

This article compares computer software tools that are used for accomplishing comparisons of files of various types. The file types addressed by individual file comparison apps varies but may include text, symbols, images, audio, or video. This category of software tool is often called "file comparison" or "diff tool", but those effectively are equivalent terms — where the term "diff" is more commonly associated with the Unix diff utility.

<span class="mw-page-title-main">KDE Platform 4</span> Collection of software libraries and frameworks

KDE Platform 4 was a collection of libraries and software frameworks by KDE that served as technological foundation for KDE Software Compilation 4 distributed under the GNU Lesser General Public License (LGPL). KDE Platform 4 was the successor to KDElibs and the predecessor of KDE Frameworks. KDE Platform 4 is the only version of KDE Platform, and in 2013 it was replaced by KDE Frameworks 5.

<span class="mw-page-title-main">Geany</span> Integrated Development Environment

Geany is a free and open-source lightweight GUI text editor using Scintilla and GTK, including basic IDE features. It is designed to have short load times, with limited dependency on separate packages or external libraries on Linux. It has been ported to a wide range of operating systems, such as BSD, Linux, macOS, Solaris and Windows. The Windows port lacks an embedded terminal window; also missing from the Windows version are the external development tools present under Unix, unless installed separately by the user. Among the supported programming languages and markup languages are C, C++, C#, Java, JavaScript, PHP, HTML, LaTeX, CSS, Python, Perl, Ruby, Pascal, Haskell, Erlang, Vala and many others.

<span class="mw-page-title-main">Frescobaldi (software)</span> Open source scorewriter

Frescobaldi is an editor for LilyPond music files. It aims to be powerful, yet lightweight and easy to use. Frescobaldi is free software, freely available under the GNU General Public License. It is designed to run on all major operating systems. It is named after Girolamo Frescobaldi, an Italian composer of keyboard music in the late Renaissance and early Baroque period.

<span class="mw-page-title-main">KWrite</span> Text editor for KDE desktop environment

KWrite is a lightweight text editor developed by the KDE free software community. Since K Desktop Environment 3, Kwrite has been based on the Kate text editor and the KParts framework, allowing it to use many of Kate's features.

<span class="mw-page-title-main">Sublime Text</span> Text editor

Sublime Text is a shareware text and source code editor available for Windows, macOS, and Linux. It natively supports many programming languages and markup languages. Users can customize it with themes and expand its functionality with plugins, typically community-built and maintained under free-software licenses. To facilitate plugins, Sublime Text features a Python API. The editor utilizes minimal interface and contains features for programmers including configurable syntax highlighting, code folding, search-and-replace supporting regular-expressions, terminal output window, and more. It is proprietary software, but a free evaluation version is available.

Haxe is a programming language. It is free and open-source software. Multiple development environments support Haxe.

<span class="mw-page-title-main">Pluma (text editor)</span>

Pluma is a fork of gedit 2 and the default text editor of the MATE desktop environment used in Linux distributions. It extends the basic functionality with other features and plugins.

<span class="mw-page-title-main">KDE Gear</span> Set of applications and supporting libraries

The KDE Gear is a set of applications and supporting libraries that are developed by the KDE community, primarily used on Linux-based operating systems but mostly multiplatform, and released on a common release schedule.

<span class="mw-page-title-main">KDE Projects</span>

KDE Projects are projects maintained by the KDE community, a group of people developing and advocating free software for everyday use, for example KDE Plasma and KDE Frameworks or applications such as Amarok, Krita or Digikam. There are also non-coding projects like designing the Breeze desktop theme and iconset, which is coordinated by KDE's Visual Design Group. Even non-Qt applications like GCompris, which started as a GTK-based application, or web-based projects like WikiToLearn are officially part of KDE.

<span class="mw-page-title-main">Xed</span> Lightweight text editor forked from Pluma

Xed is a lightweight text editor forked from Pluma and is the default text editor in Linux Mint.

References

  1. Error: Unable to display the reference properly. See the documentation for details.
  2. "Distribution Packages". Kate-editor.org. KDE. 9 July 2010. Retrieved 23 March 2014.
  3. "Distributions Shipping KDE". Kde.org. KDE . Retrieved 23 March 2014.
  4. "Kate on Windows". kate-editor.org. KDE. 28 January 2016. Retrieved 10 February 2016.
  5. "Kate on Mac OS". kate-editor.org. KDE. 9 July 2010. Retrieved 10 September 2016.
  6. "Let's welcome Kate the Cyber Woodpecker". Kate. 2021-04-28. Retrieved 2021-04-29.
  7. "Kate's Mascotthe Woodpecker". Kate | Get an Edge in Editing. 2014-10-12. Retrieved 2017-07-20.
  8. "2.1 to 2.2 Changelog". KDE.org. Retrieved 2015-07-02.
  9. "Issue 2 is Out!". LinuxVoice.com. Archived from the original on 2015-07-03. Retrieved 2015-07-02.
  10. "KDE SC 4.14 wird 4er-Reihe abschließen". Golem.de (in German). 2014-07-10.
  11. 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.
  12. "kate.git". Projects.KDE.org. Archived from the original on 2013-09-09. Retrieved 2020-01-29.
  13. "data/syntax · master · Frameworks / Syntax Highlighting Engine · GitLab". GitLab. Retrieved 11 September 2023.
  14. Cullmann, Christoph (2005-03-24). "Writing a Syntax Highlighting File | Kate | Get an Edge in Editing". Kate-Editor.org. Retrieved 2015-07-02.
  15. Cullmann, Christoph (January 2020). "Kate -LSP Client Status". kate-editor.org. Retrieved 15 June 2022.
  16. "KatePart | Kate | Get an Edge in Editing". Kate-Editor.org. Archived from the original on 2014-10-18. Retrieved 2015-07-02.
  17. "KParts - KParts". api.kde.org. Retrieved 2020-10-30.
  18. "KDE's Kate Text Editor Gets Vi Input Mode". ArsTechnica.com. 2008-10-27. Retrieved 2009-05-04.
  19. "Using the Project Plugin in Kate". 2012-11-02. Retrieved 2014-09-24.
  20. "Using Sessions". Docs.KDE.org. Retrieved 2015-07-02.
  21. "Terminal Tool View Plugin". docs.kde.org. Retrieved 15 June 2022.
  22. "Make Konsole work on Windows (!814) · Merge requests · Utilities / Konsole · GitLab". GitLab. 2023-02-20. Retrieved 2024-01-03.
  23. Cullmann, Christoph (10 January 2021). "Kate Text Editor - Quick Open". Kate. Retrieved 15 September 2021.
  24. "Chapter 7. Configure KatePart". docs.kde.org. Show line modification markers
  25. "Line Modification Indicators". docs.kde.org.
  26. "The editor holds a clipboard history that contains up to 10 clipboard entries."
  27. 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.
  28. "Using Kate's Git Features". February 2023.

Commons-logo.svg Media related to Kate (text editor) at Wikimedia Commons