Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Irregular comportement for the F11 shortcut
Loumnam:
Hi,
The F11 shortcut let you switch from a *.c/*.cpp to a *.h.
But if the corresponding *.c/*.cpp/*.h doesn't exists, it proposes to create it.
The problem is:
I am in a C project.
I create a *.h file, e.g. array.h.
I then press F11.
array.c/cpp doesn't exists, so it propose me to create it.
But it creates array.CPP, while I am in a C project!
And it is not just the extension: the file is considered in all aspects as a c++ file (in the *.cbp, CompilerVar= CPP and not CC, etc..)
Thanks for correcting this bug!
P.S: In case this is the desired comportement, a toolbox with the option to choose between C/C++ would be appreciated.
Thanks!
oBFusCATed:
And another one... please follow the forum rules and state a version of CB, OS, compiler :? :lol:
BTW, If you're using 8.02 you can try a nigthly.... there were some problems in C handling in the past
Loumnam:
Oops, sorry!
Codeblocks SVN 6181
OS: Kubuntu 9.10 32bits
Compiler: gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1
Loumnam:
Anyone?
oBFusCATed:
I suppose this is just a bug, c::b is used mostly as c++ ide...
You can submit a bug report at the berlios.de page and wait to be fixed...
Navigation
[0] Message Index
[#] Next page
Go to full version