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