Bug #12155 2007-10-10 20:16
polygon7
Default code in *.h is always between header guard
Hi,
when i add something like this:
/**************************
Project: some project
File: some file
blahblahblah...
**************************/
in default code for *.h file that text is always between
header guard created by C/C++ header file wizard.
I think default code should be always on the top of file
and after that should be header guard.
C::B svn rev 4519,
wx-unicode 2.8.4,
linux Gentoo
- Category
- Application::Editor
- Group
- Status
- Closed
- Close date
- 2008-01-12 10:02
- Assigned to
- biplab
History
IMO, this is not a bug. As the option name, "Default code", suggests it's assumed that code (with or without comments) will be used. In case of code, you can't place it outside the header guards.
So as a common-minimum, it is placed inside the header-guards.
Hmm, so how can I add default "header" (like above with project name, file name, author and licence) into all created by wizard files?
Maybe some options with radio button like:
"header guard above default code",
"default code between header guard" (and this set as default)
"header guard below default code"
in "deafult code"?
OK. I'll make necessary changes. So indeed it became a feature request. :-)
Thank you :)
Last reply says "no longer a bug".