[Qt-creator] About a new feature
Ladnar, Marc
Marc.Ladnar at ksab.kroschu.com
Thu Jul 30 08:41:16 CEST 2009
Hi John & Flo,
I have been asking for that, too, just some days ago. Would be a nice
feature.
If you want to do that, I have some requests ^^ (Sorry for that
"attack")
Maybe you can make a plugin that integrates into the new file dialog,
too, and provides there with a list of templates that one can build up,
e.g. new C-Class, new Startup-Window, new Sub-Window, new UIs, custom
.pro file, new ... It could be implemented in a new Tree or a new root
entry inside the tree in that dialog.
And I think there should be an entry inside the settings, too, where one
can add template directories, like standard ones on mounted servers,
local ones in home directory, ...
Which variables are you going to add there? Filename, user, date,
datetime, classname, super class (for subclasses)... Most of these
things could be taken from that new file dialog... The rest could be
added inside the settings where the template directories are added.
I think it would be great to have that feature.
Looking forward on first implementations,
Marc
-----Ursprüngliche Nachricht-----
Von: Jonathan Courtois [mailto:devqtcreator at gmail.com]
Gesendet: Mittwoch, 29. Juli 2009 21:05
An: qt-creator at trolltech.com
Cc: renault.florent at gmail.com
Betreff: [Qt-creator] About a new feature
Hi everybody!
We are two french developers and are currently thinking about
programming a Qt-Creator plugin.
This idea is to develop a plugin which can manage the creation of new
files with a template associated with keywords.
This fonctionnaly is available in Eclipse and others IDE and is quite
useful.
A good way to keep all files of a project uniforms.
So you could create in your settings a custom template for your C++
files, something like :
/*********************
*
* @{file_name}
* Created by: @{user}
* Date : @{date}
*
**********************/
And some other stuff like this, it will be simple first and improved
constently with custom keywords, default templates, etc.
What do you think about this idea ?
Thanks for reading and have a good evening
John & Flo
_______________________________________________
Qt-creator mailing list
Qt-creator at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator
More information about the Qt-creator-old
mailing list