Getter/Setter generation

René J.V. Bertin rjvbertin at gmail.com
Tue Sep 29 13:54:45 BST 2015


On Tuesday September 29 2015 09:00:36 Felix Mauch wrote:

Hi,

>Is there any way I can achieve this? Otherwise I guess, I should try to 
>implement something myself...
>Personally I'd prefer a refactoring-entry: "Create Get- and Set-methods" 
>in the context menu over a full blown GUI for this purpose. Maybe that's 
>doable via a lightweigt plugin?

Can you do this in a "simple" bit of code that doesn't require whatever relevant information the C++ parser could provide?
If so, there's an interface to write "external scripts" that will be accessible through the context menu. 

R.



More information about the KDevelop mailing list