Menu

No functions in class browser

2002-09-10
2012-09-26
  • Nobody/Anonymous

    I just installed the most recent update, and now my class browser only shows the main() function and my structs. Does anyone know whats wrong?

     
    • Nobody/Anonymous

      Check your Editor Options -> Class browsing

      Curtis

       
    • Nobody/Anonymous

      Enable Class browser and use colors are checked
      What else should be?

      Ben

       
    • Nobody/Anonymous

      Try checking Scan local files referenced in #include's

      Curtis

       
    • Nobody/Anonymous

      Nope, that doesn't help

       
    • Nobody/Anonymous

      Are you re-loading the project?  It doesn't refresh the class browser after adding functions.  So you need to re-load the file to see the new functions.

      Maybe in the next update Colin?

      Curtis

       
      • Yiannis Mandravellos

        The class browser refreshes when the file is saved (at other times too).

        About our friend's problem now:

        You see the main() and the structs. What else did you want to see?

        You have more functions in the same source file and they are not shown? If your file compiles correctly (which means it is syntactically correct), post a bug report.

        You have more functions and structs in other source files of your project? Right-click the class browser and check that "View mode" is set to "All files". If it is "Current file" then you will only see classes from the current file...

        You have variables that are not shown in the class browser? That is correct behaviour. The class browser shows only classes/structs and functions.

        If none of the above solves your problem, you should post more information about it...

        Yiannis.

         
    • Nobody/Anonymous

      I tried all the suggestions, but none helped.

      I have more functions in the same source file that compiles correctly and uses all of them.

      When I open a project that I created before I got the update, it shows all the functions like normal.
      In the project that I just created, it shows nothing but my struct and the main function.

      It will find the main function in any file, but only finds other functions in a project I made before the update

      I will also post a bug report, but I would appreciate if anyone knows how to fix it.

      Ben

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.