KDevelop filetemplates - Tooltip for custom options

18 Oct, 2019 - 1 minutes
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.