SymbolView for .cpp file doesn't show the class's methods

General questions regarding the usage of CodeLite
pkwong
CodeLite Enthusiast
Posts: 17
Joined: Tue Dec 01, 2009 3:08 am
Genuine User: Yes
IDE Question: C++
Contact:

SymbolView for .cpp file doesn't show the class's methods

Post by pkwong »

CL 2.6.0.4189 on Windows XP Pro 2002, SP 2

Using the SymbolView plugin:

For .c files, it shows all the functions in a file.
For the C++ header file, however, the "Symbol" tab does show the classes & methods.

For .cpp files, the "Symbol" tab **doesn't** show the classes or the methods in the classes
in that file.

Is there something I need to do to see the class/method names in the "Symbol" tab for
the C++ implementation files?

Attached are screenshots showing the "Symbol" tab for the header file and the implementation file.

Thanks
peter
headerFile.jpg
implementationFile.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: SymbolView for .cpp file doesn't show the class's methods

Post by eranif »

pkwong wrote:For .cpp files, the "Symbol" tab **doesn't** show the classes or the methods in the classes
in that file.
Cant seem to reproduce it here

Is it possible to have the workspace (source files/project)?

I would also recommend you to try and use the trunk codelite (it has an improved SymbolView plugin)

Eran
Make sure you have read the HOW TO POST thread
pkwong
CodeLite Enthusiast
Posts: 17
Joined: Tue Dec 01, 2009 3:08 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: SymbolView for .cpp file doesn't show the class's methods

Post by pkwong »

Eran,
I can send you a sample project/file that both show and doesn't show the problem (using the same CL version). Hmm, go figure why it works
for one project but not for the other.

By what means should I send it to you?

BTW - for the trunk version of CL, do I have to compile it? (I normally just use the released binaries).

peter
pkwong
CodeLite Enthusiast
Posts: 17
Joined: Tue Dec 01, 2009 3:08 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: SymbolView for .cpp file doesn't show the class's methods

Post by pkwong »

I attached a zip file with the files.

It has 2 workspaces/projects, both of which use the same 2 .h and .cpp files.

The "cl-test" workspace/project works (ie. symbol tab for the .cpp file shows the class and methods).

The "adapter" workspace/project doesn't work (ie. it has the problem where the symbol tab does not show the .cpp file's class & methods).

Perhaps it is the layout of the workspace/project that is the problem?

peter
CL-test.zip
- I miss the outline tab - never had a problem with it...
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: SymbolView for .cpp file doesn't show the class's methods

Post by eranif »

pkwong wrote:Perhaps it is the layout of the workspace/project that is the problem?
this was my first suspect and indeed it is the problem.

The good news: the trunk version of SymbolView is working fine (one of the improvements I did was changing the way it is locating the "other" file)
works.png
Eran
You do not have the required permissions to view the files attached to this post.
Make sure you have read the HOW TO POST thread
pkwong
CodeLite Enthusiast
Posts: 17
Joined: Tue Dec 01, 2009 3:08 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: SymbolView for .cpp file doesn't show the class's methods

Post by pkwong »

Thank you Eran.

peter
Post Reply