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:

Richard Stallman's political discourse on sex

Richard Stallman, the founder of the Free Software Foundation, has been subject to numerous allegations of misconduct. He stepped down in 2019, and following his re-instatement in 2021, a famous open letter was published in which numerous organizations and i…

via Drew DeVault's blog November 25, 2023

Upgrading to FreeBSD 14 - how to fix a broken BIOS bootcode

A lot of people running ZFS zroot have managed to break their FreeBSD systems upgrading from 13.2 to the new 14.0 release because of a broken BIOS bootcode. In this tutorial I'll show you how you can fix that without having to reinstall.

via unixsheikh.com November 22, 2023

C++ Guidelines

C++ is definitely a language that has Lots of Ways to do It – kind of like Perl’s TIMTOWTSAC. A consequence is that when writing code, you need to think about which way to do things. When context-switching between projects, employers, or what-have-you, yo…

via [bobulate] November 21, 2023

Generated by openring