<br><br><div class="gmail_quote">On Fri, Mar 23, 2012 at 5:54 PM, Aleix Pol <span dir="ltr"><<a href="mailto:aleixpol@kde.org">aleixpol@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Fri, Mar 23, 2012 at 4:40 PM, Andrei G <<a href="mailto:otzy007@gmail.com">otzy007@gmail.com</a>> wrote:<br>
><br>
><br>
> On Fri, Mar 23, 2012 at 5:29 PM, Aleix Pol <<a href="mailto:aleixpol@kde.org">aleixpol@kde.org</a>> wrote:<br>
>><br>
>> On Fri, Mar 23, 2012 at 3:57 PM, Andrei G <<a href="mailto:otzy007@gmail.com">otzy007@gmail.com</a>> wrote:<br>
>> > On Wed, Mar 21, 2012 at 3:46 PM, Aleix Pol <<a href="mailto:aleixpol@kde.org">aleixpol@kde.org</a>> wrote:<br>
>> >><br>
>> >> On Wed, Mar 21, 2012 at 2:25 PM, Andrei G <<a href="mailto:otzy007@gmail.com">otzy007@gmail.com</a>> wrote:<br>
>> >> ><br>
>> >> ><br>
>> >> > On Wed, Mar 21, 2012 at 1:27 AM, Aleix Pol <<a href="mailto:aleixpol@kde.org">aleixpol@kde.org</a>> wrote:<br>
>> >> >><br>
>> >> >> On Tue, Mar 20, 2012 at 10:22 PM, Andrei G <<a href="mailto:otzy007@gmail.com">otzy007@gmail.com</a>><br>
>> >> >> wrote:<br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> > On Tue, Mar 20, 2012 at 5:59 PM, Aleix Pol <<a href="mailto:aleixpol@kde.org">aleixpol@kde.org</a>><br>
>> >> >> > wrote:<br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> ><br>
>> >> >> > So I should think more on the templates sharing part on GHNS and<br>
>> >> >> > the<br>
>> >> >> > creation of new files from a template?<br>
>> >> >> > To create a new file from a template I think something like<br>
>> >> >> > appwizard(Create<br>
>> >> >> > New Project) can be used. I am thinking of something similar like<br>
>> >> >> > NetBeans<br>
>> >> >> > New File context.<br>
>> >> >> > You select the Language and the type of file.<br>
>> >> >> > For example for C++: .h file and .cpp file<br>
>> >> >> ><br>
>> >> >> > Am I on the right track? :D<br>
>> >> >> ><br>
>> >> >> > --<br>
>> >> >> > Andrei<br>
>> >> >><br>
>> >> >> Well, yes. But I'd like you to think it a bit further.<br>
>> >> >> - What's the difference between using this and "create new class"?<br>
>> >> >> - Is it going to overlap?<br>
>> >> >> - What use cases do you want to cover? Where does it end?<br>
>> >> >> - Do you plan on integrating it with the buildsystem? For example if<br>
>> >> >> you add a test, you'll want to add it to compile, if c++.<br>
>> >> >><br>
>> >> >> See the comments I made in the public mailing list with the OBS guy,<br>
>> >> >> maybe it will help.<br>
>> >> >><br>
>> >> >> Aleix<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > I think that this new feature should include "Create Class". And of<br>
>> >> > course<br>
>> >> > they will be included in the buildsystem.<br>
>> >> > For C++ templates: Header(.h), .cpp, Class, maybe .ui files<br>
>> >> ><br>
>> >> > By public mailing list you mean<br>
>> >> > site:<a href="http://barney.cs.uni-potsdam.de/pipermail/kdevelop" target="_blank">http://barney.cs.uni-potsdam.de/pipermail/kdevelop</a> ?<br>
>> >> ><br>
>> >> > I found this discussion<br>
>> >> ><br>
>> >> ><br>
>> >> > <a href="http://barney.cs.uni-potsdam.de/pipermail/kdevelop/2000-November/005890.html" target="_blank">http://barney.cs.uni-potsdam.de/pipermail/kdevelop/2000-November/005890.html</a><br>
>> >> > but I think it's not the one you told me to see it<br>
>> >> > --<br>
>> >> > Andrei<br>
>> >><br>
>> >> no, I mean one from yesterday about GSoC.<br>
>> >><br>
>> >> And please, think things through. You can't say you will tackle the<br>
>> >> "new class" usecase that easily, the wizard we have now is a bit more<br>
>> >> advanced, it lets you override methods and uses DUChain, it's not<br>
>> >> something you can do with file templates alone.<br>
>> >><br>
>> >> Aleix<br>
>> ><br>
>> ><br>
>> > I wasn't thinking I will do class creation with just a simple template.<br>
>> > I<br>
>> > was thinking that the existing create class wizard could be called from<br>
>> > Create New File from Template. It's too stupid to put an example class<br>
>> > and<br>
>> > then the user modifies it.<br>
>> ><br>
>> > I might say stupid thinks and not think too much, but I just want to<br>
>> > make an<br>
>> > idea of what the community wants from this GSoC proposal.<br>
>> ><br>
>> > --<br>
>> > Andrei<br>
>><br>
>> Well, the idea is that we need to make sure that you know what needs<br>
>> to be done :P.<br>
>><br>
>> Aleix<br>
><br>
> I understand that :D<br>
><br>
> What do you think would be better? To modify the existing templates wizard<br>
> to act like QCreator's one, to be for projects and also for files, or to<br>
> have 2 wizards?<br>
><br>
><br>
> --<br>
> Andrei<br>
<br>
</div></div>well, right now we have a "create file" action. You can enhance it to<br>
add non-empty files too.<br></blockquote><div> I know there is one :p I user Kdevelop for most of my programming tasks<br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
also there's a lot to improve in the new class wizard.<br>
<br>
I think that you should brainstorm yourself and think of all teh<br>
features you'd like to have and see what you can do.<br>
<br>
it's fine if we have different ui's, classes are very specific<br>
sometimes, depends a lot on the language too. For example, it would be<br>
cool that if you tell it to be a QObject instance, then it adds the<br>
Q_OBJECT class and all. <br></blockquote><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Also the templating for the license insertion in the files can be improved too.<span class="HOEnZb"><font color="#888888"></font></span></blockquote><div><span class="HOEnZb"><font color="#888888"><br></font></span></div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="HOEnZb"><font color="#888888"><br>
Aleix<br>
</font></span></blockquote></div> <span class="HOEnZb"><font color="#888888"></font></span><font color="#888888"><br>How do you thing license insertion could be improved? <br></font><br clear="all"><br>-- <br>Andrei<br>