Goto Declaration/implementation does not work

General questions regarding the usage of CodeLite
s0r2637
CodeLite Enthusiast
Posts: 10
Joined: Thu Dec 24, 2015 11:23 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Goto Declaration/implementation does not work

Post by s0r2637 »

Hi Eran,

I did what you suggested and following are the paths that have been added to my clang code completion tab:

/usr/include/c++/4.8
/usr/include/x86_64-linux-gnu/c++/4.8
/usr/include/c++/4.8/backward
/usr/lib/gcc/x86_64-linux-gnu/4.8/include
/usr/local/include
/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed
/usr/include/x86_64-linux-gnu
/usr/include



Let me know if this is correct. I will go ahead and restart Codelite and see if stdio.h can be searched.
s0r2637
CodeLite Enthusiast
Posts: 10
Joined: Thu Dec 24, 2015 11:23 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Goto Declaration/implementation does not work

Post by s0r2637 »

I am still not able to open stdio.h from right clicking on the stdio.h and selection the Open include file "stdio.h" option in the menu.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Goto Declaration/implementation does not work

Post by eranif »

s0r2637 wrote:to my clang code completion tab:
You should add them to 'ctags' search paths

Not clang

Eran
Make sure you have read the HOW TO POST thread
s0r2637
CodeLite Enthusiast
Posts: 10
Joined: Thu Dec 24, 2015 11:23 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Goto Declaration/implementation does not work

Post by s0r2637 »

As I mentioned before, I am not able to get to the Ctags settings. The moment I click settings-> Code Completion..., I see only the clang search path panels. I am not sure what to do.

Regards,
s0r2637
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Goto Declaration/implementation does not work

Post by eranif »

Please post a screenshot
Clearly I am missing something here, since the ctags panel *cant* be missing

Eran
Make sure you have read the HOW TO POST thread
s0r2637
CodeLite Enthusiast
Posts: 10
Joined: Thu Dec 24, 2015 11:23 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Goto Declaration/implementation does not work

Post by s0r2637 »

Hi Eran:

The ctags panel is still missing. Here's the screen shot when I traverse Settings->Code Completion...
The good thing is that now when I right click on stdio.h, I get the following window (image attached).
So, I am given options from where to grad the stdio.h file. How can I choose one or the other option?

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

Re: Goto Declaration/implementation does not work

Post by eranif »

Did you try to resize this dialog?
Please do and you will discover a whole new world :D

This looks like a bug in the desktop manager

Eran
Make sure you have read the HOW TO POST thread
s0r2637
CodeLite Enthusiast
Posts: 10
Joined: Thu Dec 24, 2015 11:23 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Goto Declaration/implementation does not work

Post by s0r2637 »

Yes. I did try to resize the dialog box. I did not find anything different at all. I am not sure which dialog box you want me to resize. So, what is your assessment of the problem I am facing? I think I can now open header files from right click, but how can I stop Codelite from asking me which path to pick.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Goto Declaration/implementation does not work

Post by eranif »

the second screenshot, the white square on the left contains a tree of options including ctags.
Can you try and run a different desktop manager? (assuming you have one)

Eran
Make sure you have read the HOW TO POST thread
Post Reply