Feature Request: Refactoring & Code Generation

Aleix Pol aleixpol at kde.org
Sun Jun 14 18:28:13 BST 2020


On Tue, Jun 9, 2020 at 1:18 PM NHJ <blauewelt10 at gmx.de> wrote:

> Hello to all KDevelop Devs,
>
>
>
> first of all I want to thank everyone for supporting this amazing free
> open source project!
>
> Today, I want to make a feature proposal: generally spoken -> Refactoring
> & Code/Implementation generation.
>
> I only know a few free/paid programs (e.g. CodeLite), which offer these
> features. Because KDevelop is one of my main tools, I would love to see
> functionalities like auto-implementation of all un-implemented functions in
> a cpp file (use header file as reference) - maybe also with right-click
> menu - and other possibilities shown in the picture below (right-click
> menu).
>
>
>
>
>
> I know, that KDevelop has a standard template which offers the possibility
> to declare (header) and implement (cpp) predefined methods automatically.
>
> Although this is helpful, it isn't as dynamic as some other tools (e.g
> CodeLite) allow it to be. From the point of view of productivity, I think,
> that this is an important factor and I'm convinced, that this would be
> worth to become implemented in an upcoming version. Maybe the code could be
> used, which is already present in the "template generator" so far?
>
>
>
> Any feedback is appreciated.
>
> Have fun programming with KDevelop and have a nice
> morning/noon/afternoon/night!
>
>
>
> P.S.
>
> I'm sorry for duplicating the picture, but I don't know whether it is only
> available when being an attachment or when positioned inline.
>

Hi NHJ,
I agree it would make sense to have some of these available. Most of the
information necessary to implement them is available too through libclang,
so it's mostly a matter of sitting down and implementing it. Note that many
of these are already implemented.

Best regards,
Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20200614/10f48758/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bild
Type: image/png
Size: 43647 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20200614/10f48758/attachment-0001.png>


More information about the KDevelop-devel mailing list