Allows to add custom options to file templates where the user
can select one value out of a list of predefined values.
Details
Diff Detail
- Repository
- R33 KDevPlatform
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
As you already might have seen :) example here: https://phabricator.kde.org/D4340#46a1eba3
language/codegen/sourcefiletemplate.cpp | ||
---|---|---|
90 | The .kcfg format reused here has "choices" and "choice" defined as element names, cmp. While I see some small issues with that reuse, unless we design a new special schema perhaps one day IMHO we should follow the defined and referenced one, anything else will only confuse 3rd-party devs. | |
language/codegen/sourcefiletemplate.h | ||
211 | I was following the pattern of the other API dox comments here. What do you mean with "for now"? :) |