Subfolders in file templates

Aleix Pol aleixpol at kde.org
Thu Jul 6 18:43:07 BST 2017


On Thu, Jul 6, 2017 at 2:23 AM, Guillaume Racicot <gufideg at gmail.com> wrote:
> Hi there,
>
> I used file templates for a lot of cases and class types in my project. They
> save me a lot of time writing similar classes.
>
> However, I wanted to create a template for a module, which consist in my
> project of two classes, three header files. The problem is that they must be
> placed in subfolders. At first, I expected file templates to be able to
> create those subfolders. In fact, when I tried to create the template, paths
> seemed okay, but KDevelop told me that paths where not valid at the end of
> the wizard ( which I expect to be because the subfolders didn't existed yet
> ).
>
> Would it be possible to have a file template that create subfolders? Thanks
> for your response.

Hi Guillaume,
It would be possible, patches welcome. :)

Aleix



More information about the KDevelop mailing list