[GSoC] User-Defined Project & File Templates

Aleix Pol aleixpol at kde.org
Fri Mar 23 15:29:20 UTC 2012


On Fri, Mar 23, 2012 at 3:57 PM, Andrei G <otzy007 at gmail.com> wrote:
> On Wed, Mar 21, 2012 at 3:46 PM, Aleix Pol <aleixpol at kde.org> wrote:
>>
>> On Wed, Mar 21, 2012 at 2:25 PM, Andrei G <otzy007 at gmail.com> wrote:
>> >
>> >
>> > On Wed, Mar 21, 2012 at 1:27 AM, Aleix Pol <aleixpol at kde.org> wrote:
>> >>
>> >> On Tue, Mar 20, 2012 at 10:22 PM, Andrei G <otzy007 at gmail.com> wrote:
>> >> >
>> >> >
>> >> > On Tue, Mar 20, 2012 at 5:59 PM, Aleix Pol <aleixpol at kde.org> wrote:
>> >> >>
>> >> >>
>> >> >
>> >> > So I should think more on the templates sharing part on GHNS and the
>> >> > creation of new files from a template?
>> >> > To create a new file from a template I think something like
>> >> > appwizard(Create
>> >> > New Project) can be used. I am thinking of something similar like
>> >> > NetBeans
>> >> > New File context.
>> >> > You select the Language and the type of file.
>> >> > For example for C++: .h file and .cpp file
>> >> >
>> >> > Am I on the right track? :D
>> >> >
>> >> > --
>> >> > Andrei
>> >>
>> >> Well, yes. But I'd like you to think it a bit further.
>> >> - What's the difference between using this and "create new class"?
>> >> - Is it going to overlap?
>> >> - What use cases do you want to cover? Where does it end?
>> >> - Do you plan on integrating it with the buildsystem? For example if
>> >> you add a test, you'll want to add it to compile, if c++.
>> >>
>> >> See the comments I made in the public mailing list with the OBS guy,
>> >> maybe it will help.
>> >>
>> >> Aleix
>> >
>> >
>> >
>> > I think that this new feature should include "Create Class". And of
>> > course
>> > they will be included in the buildsystem.
>> > For C++ templates: Header(.h), .cpp, Class, maybe .ui files
>> >
>> > By public mailing list you mean
>> > site:http://barney.cs.uni-potsdam.de/pipermail/kdevelop ?
>> >
>> > I found this discussion
>> >
>> > http://barney.cs.uni-potsdam.de/pipermail/kdevelop/2000-November/005890.html
>> > but I think it's not the one you told me to see it
>> > --
>> > Andrei
>>
>> no, I mean one from yesterday about GSoC.
>>
>> And please, think things through. You can't say you will tackle the
>> "new class" usecase that easily, the wizard we have now is a bit more
>> advanced, it lets you override methods and uses DUChain, it's not
>> something you can do with file templates alone.
>>
>> Aleix
>
>
> I wasn't thinking I will do class creation with just a simple template. I
> was thinking that the existing create class wizard could be called from
> Create New File from Template. It's too stupid to put an example class and
> then the user modifies it.
>
> I might say stupid thinks and not think too much, but I just want to make an
> idea of what the community wants from this GSoC proposal.
>
> --
> Andrei

Well, the idea is that we need to make sure that you know what needs
to be done :P.

Aleix




More information about the KDevelop-devel mailing list