News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Help with Symbols and code folding.

Started by kolonial, June 03, 2016, 08:45:12 PM

Previous topic - Next topic

kolonial

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 ?

oBFusCATed

Do you have a project?
What do you mean by folding?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

kolonial

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.

kolonial

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 ?

oBFusCATed

What are the exact steps you're using to create the file?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

oBFusCATed

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

kolonial

with "file->new->empty file" you get code folding working but still no symbols.