Author Topic: Help with Symbols and code folding.  (Read 4138 times)

Offline kolonial

  • Single posting newcomer
  • *
  • Posts: 5
Help with Symbols and code folding.
« 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 ?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Help with Symbols and code folding.
« Reply #1 on: June 03, 2016, 09:14:51 pm »
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!]

Offline kolonial

  • Single posting newcomer
  • *
  • Posts: 5
Re: Help with Symbols and code folding.
« Reply #2 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.

Offline kolonial

  • Single posting newcomer
  • *
  • Posts: 5
Re: Help with Symbols and code folding.
« Reply #3 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 ?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Help with Symbols and code folding.
« Reply #4 on: June 04, 2016, 09:22:47 am »
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!]

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Help with Symbols and code folding.
« Reply #5 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.
(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!]

Offline kolonial

  • Single posting newcomer
  • *
  • Posts: 5
Re: Help with Symbols and code folding.
« Reply #6 on: June 04, 2016, 08:04:34 pm »
with "file->new->empty file" you get code folding working but still no symbols.