Jan, Changing Tools -> OPtions -> C++, as Thorbjørn Lindeijer said, helps for me.
Luuk ----- Original Message ----- From: "Jan Ekholm" <[email protected]> To: [email protected] Sent: Thursday, December 10, 2009 10:37:21 AM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna Subject: Re: [Qt-creator] Unwanted extension .cpp On Thursday 10 December 2009, Kuiper, Luuk wrote: > In my previous reply I forgot to attach the attachment. > > Here it is. > > Luuk > > ----- Original Message ----- > From: "thorbjorn lindeijer" <[email protected]> > To: [email protected] > Sent: Wednesday, December 9, 2009 3:00:14 PM GMT +01:00 Amsterdam / Berlin > / Bern / Rome / Stockholm / Vienna Subject: Re: [Qt-creator] Unwanted > extension .cpp > > ext Kuiper, Luuk wrote: > > Hi all, > > > > When I want to save an existing file (say: file.cxx) as another file > > (say: new_file.cxx) I always see that the file is saved as > > new_file.cxxcpp. Even when I switched off the button 'Automatically > > select filename extension (.cpp)'. > > > > I am using 1.3.0 on Suse Linux 11.1. > > I don't know where the "Automatically > > > select filename extension (.cpp)" is (I don't see this option in my > > Save As dialog), but you can configure the default extension for C++ > source and header files in Tools -> Options -> C++. Does that help? I've seen the same problem for a long time. Open a foo.hh. Save as. Enter bar.hh. Result: bar.hhh. I nowadays never create new classes by using Save As inside Creator, it's better to do it on the console with cp. -- Jan Ekholm [email protected] _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator -- Luuk Kuiper Software Engineer HITT Traffic (HITT Holland Institute of Traffic Technology B.V.; CoC: 08060878) Oude Apeldoornseweg 41-45, NL-7333 NR, APELDOORN P.O. Box 717, NL-7300 AS, APELDOORN Telephone +31-55-543 25 26 Fax +31-55-543 25 53 E-mail [email protected] Web www.hitt-traffic.nl This e-mail is confidential; containing proprietary information of HITT. It is intended solely for the individual(s) to whom it is addressed. This information is subject of a disclaimer as published on www.HITT.nl . _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
