Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: loudo on April 23, 2008, 10:52:56 am

Title: parse problem with .pc file
Post by: loudo on April 23, 2008, 10:52:56 am
Hello,

I use this software to edit my .pc file (pro-c).  The extension of this file are ".pc".
When i add the file in my project with project/add file menu the symbol are upaded. I can find directly the implementation of the function in the pro-c file.

When il close Code::Blocks,  i open again and i reload my project all my .pc file are not parsed so the symbol list is not updated.

Can you help me.

Thanks.




Title: Re: parse problem with .pc file
Post by: Deschamps on April 23, 2008, 01:14:42 pm
Quote from: loudo
(..) When i add the file in my project with project/add file menu the symbol are upaded. (..) When il close Code::Blocks,  i open again and i reload my project all my .pc file are not parsed so the symbol list is not updated. (..)

It seems to me like a bug in the Symbols browser. As a workaround, you could open the file in the C::B editor, edit the file (for instance adding and deleting a simple charater somewhere) and save it again. Then you'll see the symbol browser updated instantly. But this must be done each time you open your project  :(

Regards.
Title: Re: parse problem with .pc file
Post by: loudo on April 23, 2008, 01:37:52 pm
I load all the file each time i start code::block
Is there any people working on this bug ? is the bug know ?
thanks
Title: Re: parse problem with .pc file
Post by: Deschamps on April 23, 2008, 01:54:47 pm
Quote from: loudo
Is there any people working on this bug ? is the bug know ?

I don't even know if this issue is a bug. Maybe there is an option somehere inside the C::B configuration dialogs, where you can specify the file extension, so the symbol browser can parse those files when loading the project. But I've not found such feature, so if I have definition files using extensions different to the default (.cpp, .c and .h), they aren't being parsed on project' loading, as you have commented.

Regards.

Edit: I'm using C::B svn 5011 build on Linux x86_64 platform (wxGTK 2.8.7 unicode)
Title: Re: parse problem with .pc file
Post by: loudo on April 23, 2008, 02:03:17 pm
I have not found this parameter.