Code::Blocks Forums

User forums => Help => Topic started by: kolonial on June 03, 2016, 08:45:12 pm

Title: Help with Symbols and code folding.
Post by: kolonial on June 03, 2016, 08:45:12 pm
when I create a new C file and save, build and run it, it runs fine but code folding and symbols are not active( No symbols are shown when I click the Global functions in the symbols tab).

when I close the file and re-open it, Symbols and code folding work fine..

What causes this ?
Title: Re: Help with Symbols and code folding.
Post by: oBFusCATed on June 03, 2016, 09:14:51 pm
Do you have a project?
What do you mean by folding?
Title: Re: Help with Symbols and code folding.
Post by: kolonial on June 03, 2016, 09:39:46 pm
no, there is no project, I just create a new C file, this also happens when I create an empty project and manually add a C file.

by folding I mean being able to expand/collapse functions classes and etc.
Title: Re: Help with Symbols and code folding.
Post by: kolonial on June 04, 2016, 08:13:25 am
I have tested this on both my win7-64 and Ubuntu MATE 16.04. C::B does not show Symbols and code folding when you create a single new C/C++ file, however, when you close everything and re-open the same file it shows both the Symbols and code folding. is this a bug or are there any settings to fix this ?
Title: Re: Help with Symbols and code folding.
Post by: oBFusCATed on June 04, 2016, 09:22:47 am
What are the exact steps you're using to create the file?
Title: Re: Help with Symbols and code folding.
Post by: oBFusCATed on June 04, 2016, 09:27:19 am
Seems that File -> New -> File causes this problem and yes it is a bug.
Can you log it in the sf.net page, so we won't forget about it?

Using ctrl-shift-n (file -> new -> empty file) doesn't suffer from this problem.
Title: Re: Help with Symbols and code folding.
Post by: kolonial on June 04, 2016, 08:04:34 pm
with "file->new->empty file" you get code folding working but still no symbols.