KDevelop filetemplates - Tooltip for custom options

After few ups and downs with file templates, the journey through source code started once again.

Based on the comment in source code, it should be possible to add tooltips for custom options in file templates.
How foolish I was to trust the comments. The option loading logic never counted with such possibility, it takes any data it can find in ’label’, ’tooltip’ and ‘whatsthis’ field and sets it as option`s label. The displayed text is the last read value of these three fields.

So I went and changed it to properly load the tooltip and adjusted the custom option page to display them. The merge request is waiting at invent.kde.org

And the result is:

File template custom options window

File template custom options window

Articles from blogs I follow:

Stop telling people to sanitize user input

Whether you're dealing with a web application or some other application, all user input should always be considered "hostile" and "dangerous", but you should not just universally sanitize user input.

via unixdigest.com March 7, 2026

GPG Update 2026

A recent toot of mine got the response “friends don’t let friends use GPG” which, I suppose, is true enough. It certainly isn’t the attestation-friendly thing to use, and the opsec failures that are so easy with GPG-encrypted mail make it a hazard there. …

via [bobulate] February 3, 2026

Steve Ballmer was an underrated CEO

There's a common narrative that Microsoft was moribund under Steve Ballmer and then later saved by the miraculous leadership of Satya Nadella. This is the dominant narrative in every online discussion about the topic I've seen and it's a commo…

via danluu.com October 28, 2024

Generated by openring