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:

Unbroken!

Calamares is a distro- and desktop-agnostic Linux installer. It’s my day job. It is named for squid, in particular battered squid rings from the Mediterranean sea, Calamares. There’s lots of ways to catch squid and octopuses. One way is to use an octopus …

via [bobulate] October 11, 2021

How reflection works in ****

Note: this is a redacted copy of a blog post published on the internal development blog of a new systems programming language. The name of the project and further details are deliberately being kept in confidence until the initial release. You may be able to…

via Drew DeVault's blog October 5, 2021

About Logging

TL;DR: This post also talks about the problems I faced while working on my logging. To log to syslog from within my containers that do not support configuring a remote syslog server, I had syslog-ng expose a unix domain socket and mounte…

via PapaTutuWawa's Blog April 16, 2021

Generated by openring