Author Topic: Project parser completes, nohing displayed in "symbols" window  (Read 7384 times)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Project parser completes, nohing displayed in "symbols" window
« Reply #15 on: October 19, 2017, 08:26:50 pm »
Do you know if there is a way to switch off the feature where the symbols window displays the symbols for the project that a focused source file is assumed to belong to?
Nope. I don't use it, ever. I've never used it in Visual Studio either where it works better.
(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 ravenspoint

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: Project parser completes, nohing displayed in "symbols" window
« Reply #16 on: October 19, 2017, 08:30:19 pm »
Attached is a smallish project that shows the problem.

 - Open project and let parser complete.
 
 - Open main.cpp in editor window

 - Open symbols window - no symbols visible

 - Open CD2A.h - symbols appear

 - Alternate focus between source file editor windows - symbols vanish and reappear.

( Note: I have done considerable violence to this project to reduce its size and complexity.  It will still compile but it will not link and the code does not make a great deal of sense.  You will need a recent release of the boost libraries )

Offline ravenspoint

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: Project parser completes, nohing displayed in "symbols" window
« Reply #17 on: October 19, 2017, 08:31:26 pm »
I don't use it,

??  What don't you use?  The symbols browser? 

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Project parser completes, nohing displayed in "symbols" window
« Reply #18 on: October 19, 2017, 08:33:22 pm »
Yep, I don't use it. I use alt-g, ctrl-f, ctrl-shift-f (set to thread search) and ctrl-./ctrl-shift-.
And when something is more complex I look at the images generated for class hierarchies by doxygen.
(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 ravenspoint

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: Project parser completes, nohing displayed in "symbols" window
« Reply #19 on: October 19, 2017, 08:49:25 pm »
If you do not use the symbol browser, then why am I discussing problems with the symbol browser with you!

Online stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Project parser completes, nohing displayed in "symbols" window
« Reply #20 on: October 19, 2017, 09:41:38 pm »
If you do not use the symbol browser, then why am I discussing problems with the symbol browser with you!

Likely because you want to get the problem fixed.

Note: If you do not wish to have the problem fixed; I have no idea why you are posting.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline ravenspoint

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: Project parser completes, nohing displayed in "symbols" window
« Reply #21 on: October 19, 2017, 10:04:21 pm »
I certainly want to have the problem fixed.  It is making codeblocks almost useless to me. 

Do you, or someone who does actually use the symbol browser for large complex multiple project workspaces, have any suggestions which would be helpful?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Project parser completes, nohing displayed in "symbols" window
« Reply #22 on: October 19, 2017, 11:46:32 pm »
If you do not use the symbol browser, then why am I discussing problems with the symbol browser with you!
Because I'm the only one posting in the topic.

I've tried your project and I can't make it break.
What is selected in the View choice control?
Do you have the one parser per workspace enabled?
(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 ravenspoint

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: Project parser completes, nohing displayed in "symbols" window
« Reply #23 on: October 20, 2017, 05:13:55 pm »
The "one parser per workspace" option looks interesting.

It was a little hard to find - Settings | Editor | Code completion | C/C++ Parser

but once found and selected, I can see my symbols again!