---

Getting Started With the Kate Text Editor: Kate For Coders

“Syntax highlighting automatically colours different words and
lines in your file according to their function. So comments will be
shown in a different colour from the main code, quoted strings in a
different colour again, and so on. It’s incredibly useful if you
work with any kind of programming, scripting, or markup
language.

“Kate’s predefined syntax highlighting settings cover the vast
majority of programming/scripting languages and markup languages,
as well as some configuration file types, diff, LDIF and MySQL, and
several assembler types. When you open a file, Kate will attempt to
automatically detect and apply the appropriate highlighting
setting, or you can apply a setting from the Tools->Highlighting
menu.

“Just in case your preferred language isn’t one of the many
provided, you can also define your own syntax highlightings, or if
you want to vary the ones that are provided, there’s scope for that
too. Kate’s syntax highlighting rules are XML files containing
rules for detecting text, keyword lists, and style definitions: to
change the behaviour, edit these files.”

Complete
Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis