В Tue, 23 Feb 2010 10:57:35 +0100 "Nicolas Arnaud-Cormos" <[email protected]> пишет:
NAC> On Sunday 21 February 2010 09:16:12 Alexander 'hatred' Drozdoff wrote: NAC> > Hi all, NAC> > NAC> > I prepare patch that may be helpful in development process. NAC> > NAC> > With this patch you can go to Header file, write function prototype (or NAC> > method prototype in class definition), press Shift-F2 (or press Right NAC> > mouse button on prototype and select item "Switch between Method NAC> > Declaration/Definition"), in case when definition does not present, you NAC> > can see message box: Implementation does not found. Will I try to create NAC> > it? [Yes/No] If you answer Yes, template of method will created and you NAC> > moved to it. NAC> > NAC> > Path is attached to this letter. NAC> > NAC> > For russian-speak guys avail my description in blog: NAC> > http://hatred.homelinux.net/wiki/zhurnal:2010-02-11_20.47_qt_creator_i_avto NAC> > maticheskoe_sozdanie_realizacii_metoda_prototipa also, here you can see NAC> > screens that demonstrate work of patch. NAC> > NAC> NAC> Hi, NAC> Hi Nicolas! NAC> I had a quick look at the patch, and it reminds me of a merge request I've NAC> submitted some times ago. NAC> NAC> Anyway, I did almost the same thing here (without the dialog, and using a NAC> plugin): NAC> http://gitorious.org/creator-plugins (CppHelper plugin) NAC> Oh, I will try to use it ;-) NAC> Note that I'm using the CppTools::Constants::SWITCH_HEADER_SOURCE command NAC> instead of searching in the project for the source file. When I completed my work, I was looked to source for more optimized way for switch files, but currently I have no time for this work :( NAC> Anyway, I'll have a better look at the way you get the return NAC> type/signature/arguments, for the moment it's really basic for me. NAC> Yeah! Open Source is great! :-D -- WBR Alexander Drozdov _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
