Community
Participate
Working Groups
The Outline View sometimes completely misses out members and methods of a class. Tested with a very simple class (see attachment). It could be a problem associated with locating included header files as I am using eclipse locally on Windows to develop on a Solaris file system via Samba. The only included header in this test case is however located by eclipse (include path and preprocessor directives have been set up to search the Solaris file system directly identically to the project Makefile).
Created attachment 15438 [details] Screenshot of Test class and incorrect Outline view
Turn off "Follow Include's Mode" from the C++ Preferences and it should work better. If we don't have access to the header files, we cannot be expected to do a semantic parse. *** This bug has been marked as a duplicate of 71484 ***
"Follow Include's Mode" is off. I think it is off be default. The Outline View effect does not change.
Created attachment 15443 [details] Screen capture that illustrates WORKSFORME Using the latest source off the 2_0 branch, w/follow includes option on or off, this source code parses correctly for me and I get the proper outline. Perhaps there is something else wrong with your configuration that we are not identifying. While there have been assorted fixes applied to the 2_0 branch since 2.0.2 was cut, I cannot in recent memory remember any failures in 2004 regarding the parsing of these types of declarations.
Created attachment 18966 [details] variables and methods missing their types. I am also missing the type for primitive data types. I am using mingw.
Created attachment 28386 [details] Outline view lacks method PH::m_kernel... (and other methods not shown here)
Comment on attachment 28386 [details] Outline view lacks method PH::m_kernel... (and other methods not shown here) Knock-out criterion in my casae. Problem present in CDT 2 and 3. The version running on Eclipse 2.1 is fine, so I'm using that for the moment.
Comment on attachment 28386 [details] Outline view lacks method PH::m_kernel... (and other methods not shown here) Knock-out criterion in my case. Problem present in CDT 2 and 3. The version running on Eclipse 2.1 is fine, so I'm using that for the moment.
John couldn't reproduce this way back in 2004 so I'm resolving this as WORKSFORME.