Author Topic: parse problem with .pc file  (Read 3837 times)

Offline loudo

  • Single posting newcomer
  • *
  • Posts: 3
parse problem with .pc file
« 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.




« Last Edit: April 23, 2008, 11:08:17 am by loudo »

Offline Deschamps

  • Multiple posting newcomer
  • *
  • Posts: 120
Re: parse problem with .pc file
« Reply #1 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.
« Last Edit: April 23, 2008, 01:17:04 pm by Deschamps »
Those who were seen dancing were thought to be insane by those who could not hear the music

Offline loudo

  • Single posting newcomer
  • *
  • Posts: 3
Re: parse problem with .pc file
« Reply #2 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

Offline Deschamps

  • Multiple posting newcomer
  • *
  • Posts: 120
Re: parse problem with .pc file
« Reply #3 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)
« Last Edit: April 23, 2008, 01:58:17 pm by Deschamps »
Those who were seen dancing were thought to be insane by those who could not hear the music

Offline loudo

  • Single posting newcomer
  • *
  • Posts: 3
Re: parse problem with .pc file
« Reply #4 on: April 23, 2008, 02:03:17 pm »
I have not found this parameter.