Re: Subfolders in file templates

Aleix Pol <[email protected]>
Newsgroups gmane.comp.kde.users.kdevelop
Message-ID <CACcA1RoDSvWwjPiMB_ZA8=ZSDyE_xrZk5sHQXk3LNjSDWd5nOg@mail.gmail.com>
On Thu, Jul 6, 2017 at 2:23 AM, Guillaume Racicot <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.