Re: Feature Request: Refactoring & Code Generation

Aleix Pol <[email protected]> Sun, 14 Jun 2020 19:28:13 +0200
Newsgroups gmane.comp.kde.devel.kdevelop
Message-ID <CACcA1RoNrHA8fUq97raSj6rob2vjwMSQmc02nQU5ZjKY3Uzrcw@mail.gmail.com>
On Tue, Jun 9, 2020 at 1:18 PM NHJ <[email protected]> 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
Bild (image/png, 42.6 KB) - not displayed