User forums > General (but related to Code::Blocks)
[10.05] Functions list for .pc
Wyz:
Hi !
Not sure it is a bug, it might need a setting somewhere.
I develop a software in Pro*C (yeah I know) and with previous version the syntax highlighting and the combo box containing the list of functions/procedures worked correcly. I have .pc files with corresponding generated .cpp file in my project and I registered the .pc filetype as a C file.
I upgraded to 10.5 recently and the combo box with functions/procedures is empty for .pc files, which is quite annoying as I have a lot of functions...
Thanks in advance.
Wyz:
Something strange I just noticed. If I type something in the source and save the project then the list is populated. :shock:
oBFusCATed:
Yes, this is normal, 10.05 doesn't do interactive reparse.
You can try some of the latest nightlies, there the CC is improved a lot.
Wyz:
Just gave a try with 20 July 2011 build (7289) and it's worse: .pc have code highlight but functions list is disabled (whereas I can access it when editing .cpp and .h files)
Wyz:
Tested with nightly build 7789, still the same. In case of Pro*C .pc files are source and .cpp are generated source file. Is there a way to tell Code::Blocks to consider .pc files as source files? Not being able to have functions drop down is quite annoying...
Navigation
[0] Message Index
[#] Next page
Go to full version