Re: [boost] Files of types *.ipp are unfriendly, especially to MSVC ?
in vs.net 2003 you can menu->tools->options->projects->VC++Build add *.ipp to the list things then hilight, etc, just fine At Friday 2003-08-08 07:47, you wrote: Spirit and date_time use some files of type *.ipp (they are included 'internally'). I had the misfortune to be reading one using MSVC which does not recognize this as a C++ type and so they are not shown in color, nor laid out etc. Although these are 'private' detail files, I wonder if *.ipp should be deprecated for Boost code? I also found that one date_time file gregorian_calender.ipp includes 0D 0D 0A sequences which double spaces it and, more confusingly, confuses the MSVC IDE editor so that warnings appear on the wrong line :-( (Perhaps Jeff Garland would like to fix this in gregorian_calender.ipp sometime?) I understood that a check program had been devised for this 'mis-feature'. Was this missed because it is not a C++ type 'known' to the checker program? Paul Paul A Bristow, Prizet Farmhouse, Kendal, Cumbria, LA8 8AB UK +44 1539 561830 Mobile +44 7714 33 02 04 Mobile mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law" ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
RE: [boost] Files of types *.ipp are unfriendly, especially to MSVC ?
On the specific issue of MSVC integration: Assuming you're using MSVC 7.[01], the mapping of file extensions to editors is declared in the registry. Specifically, the entries under "HKLM\SOFTWARE\Microsoft\VisualStudio\7.1\Languages\File Extensions" are extension keys whose default value is the CSLID of the editor. So simply creating a new entry for ".ipp" and copying the CLSID listed for ".cpp" will give you your C++-specific editing features in MSVC. (We do this as part of our standard installation here, since ".tpl" is an standard extension for template implementation files internally.) Whether use of ".ipp" as a standard extension is a good idea is, of course, a different discussion. Randy Bowen Stamps.com > -Original Message- > From: Paul A. Bristow [mailto:[EMAIL PROTECTED] > Sent: Friday, August 08, 2003 7:47 AM > To: Boost > Subject: [boost] Files of types *.ipp are unfriendly, > especially to MSVC ? > > > Spirit and date_time use some files of type *.ipp (they are > included 'internally'). > > I had the misfortune to be reading one using MSVC which does > not recognize this as a C++ type and so they are not shown in > color, nor laid out etc. > > Although these are 'private' detail files, I wonder if *.ipp > should be deprecated for Boost code? > > I also found that one date_time file gregorian_calender.ipp > includes 0D 0D 0A sequences which double spaces it and, more > confusingly, confuses the MSVC IDE editor so that warnings > appear on the wrong line :-( > > (Perhaps Jeff Garland would like to fix this in gregorian_calender.ipp > sometime?) > > I understood that a check program had been devised for this > 'mis-feature'. Was this missed because it is not a C++ type > 'known' to the checker program? > > Paul > > Paul A Bristow, Prizet Farmhouse, Kendal, Cumbria, LA8 8AB UK > +44 1539 561830 Mobile +44 7714 33 02 04 > Mobile mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] > > ___ > Unsubscribe & other changes: > http://lists.boost.org/mailman/listinfo.cgi/bo> ost > ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
RE: [boost] Files of types *.ipp are unfriendly, especially to MSVC ?
Many thanks for this - works for me too. HKLM\SOFTWARE\Microsoft\VisualStudio\7.1\Languages\File Extensions.ipp" {B2F072B0-ABC1-11D0-9D62-00C04FD9DFD9} makes it edit like .cpp But I still doubt if files should be called .ipp. Paul Paul A Bristow, Prizet Farmhouse, Kendal, Cumbria, LA8 8AB UK +44 1539 561830 Mobile +44 7714 33 02 04 Mobile mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] | -Original Message- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] Behalf Of Randy Bowen | Sent: Friday, August 08, 2003 6:05 PM | To: Boost mailing list | Subject: RE: [boost] Files of types *.ipp are unfriendly, especially to | MSVC ? | | | On the specific issue of MSVC integration: Assuming you're using MSVC | 7.[01], the mapping of file extensions to editors is declared in the | registry. Specifically, the entries under | "HKLM\SOFTWARE\Microsoft\VisualStudio\7.1\Languages\File Extensions" are | extension keys whose default value is the CSLID of the editor. So | simply creating a new entry for ".ipp" and copying the CLSID listed for | ".cpp" will give you your C++-specific editing features in MSVC. (We do | this as part of our standard installation here, since ".tpl" is an | standard extension for template implementation files internally.) | | Whether use of ".ipp" as a standard extension is a good idea is, of | course, a different discussion. | | Randy Bowen | Stamps.com | | | ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost