[<prev] [next>] [day] [month] [year] [list]
Message-ID: <27129446.btpinNW7pO@tacticalops>
Date: Sat, 13 Sep 2014 00:32:09 +0200
From: Martin Walch <walch.martin@....de>
To: linux-kbuild@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Subject: kconfig: NEW: syntax highlighting for Kconfig files in KDE
The text editors in KDE (Kate, KWrite, KDevelop, etc.) now support
highlighting Kconfig files. This will ship with KDE SC 4.14.1, older versions
back to KDE 4.4.0 can easily get it by running Kate and using the download
dialog at >Settings >Configure Kate... >Editor Component: Open/Save
>Modes & Filetypes >Download Highlighting Files...
Kate automatically applies this highlighting style to all files with names
that start with "Kconfig" unless some other pattern applies (e.g. *.c).
The highlighting should be pretty accurate with the usual formatting
scheme that most syntax highlighters of KDE apply and it comes with code
folding support and spell checking. However, it still lacks an indenter.
It also has no other fancy stuff like accurate auto-completion or jumping
to a declaration.
While the infrastructure of Kate Part primarily targets highlighting
syntactically valid files (not caring about invalid syntax), this highlighter
also underlines anything that will lead to a syntax error when running *conf.
Bad characters that do not lead up to a syntax error, but which will be
silently ignored, are red with a light red background.
This all comes at the cost of rather high cpu usage. You may notice when
loading large files, depending on your hardware. Also, automatic spell
checking on large files may slow things down. If you intend to open hundreds
of Kconfig files at once, expect it to take a long time.
Please report bugs either to me via email (subject start [kconfig.xml]) or
in the bug tracker of KDE at https://bugs.kde.org/
Regards
Martin Walch
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists