Goto Declaration/implementation does not work
-
- CodeLite Enthusiast
- Posts: 10
- Joined: Thu Dec 24, 2015 11:23 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Goto Declaration/implementation does not work
Hi,
I am using Codelite 9.0.0 on Ubuntu 14.04 LTS. I installed it through a Debbian package manager on CodeLite's website for 64-bit OS. I am not able to use the Goto Delcaration or Implementation functionality. Can someone please troubleshoot my problem?
Regards,
s0r2637
I am using Codelite 9.0.0 on Ubuntu 14.04 LTS. I installed it through a Debbian package manager on CodeLite's website for 64-bit OS. I am not able to use the Goto Delcaration or Implementation functionality. Can someone please troubleshoot my problem?
Regards,
s0r2637
- 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
Please provide an exact steps to reproduce the problem + sample code
Eran
Eran
Make sure you have read the HOW TO POST thread
-
- 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
Hi Eran,
I want to add that even opening a header file from right click doesn't work. It is as simple as this:
If you hover the mouse over "stdio.h" and right click, you will see in the list of items at the top "Open include file stdio.h." When you click on this menu, nothings seems to happen. No new tab/window containing the contents of stdio.h appears. I am not able to even find where the "NULL" variable is declared in stdio.h. WHat do you think might be happening? Btw, I build 9.0.6 version from the source files on my Ubuntu 14.04 machine. It behaved the same way.
s0r2637
I want to add that even opening a header file from right click doesn't work. It is as simple as this:
Code: Select all
#include <stdio.h>
int main(int argc, char **argv) {
printf("hello world\n");
return 0;
}
s0r2637
- 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
Please see the HOW TO POST thread and provide the additional information related to the "Code Completion"
http://forums.codelite.org/viewtopic.php?f=3&t=804
Eran
http://forums.codelite.org/viewtopic.php?f=3&t=804
Eran
Make sure you have read the HOW TO POST thread
-
- 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
Hi Eran:
Sorry for the late reply. Here are the info for the Code Completion related post:
1) You parser include and exclude paths : it is empty; there is no path tree.
2) I am using GNU so clang path does not apply. In any case, the clang search path is also empty.
3) I have already provided you code snippet in the previous post.
Thanks,
s0r2637
Sorry for the late reply. Here are the info for the Code Completion related post:
1) You parser include and exclude paths : it is empty; there is no path tree.
2) I am using GNU so clang path does not apply. In any case, the clang search path is also empty.
3) I have already provided you code snippet in the previous post.
Thanks,
s0r2637
- 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
Thats the problem.. you should have something theres0r2637 wrote:1) You parser include and exclude paths : it is empty; there is no path tree.
What happens when you click on the 'Suggest' button ? it should offer some paths for code completion
Eran
Make sure you have read the HOW TO POST thread
-
- 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
I clicked on suggest paths, but nothing happens. Also, now when I click on Settings -> Code Completion... I can only see the clang search path options. I don't see the GNU search path options. How do I restore to default or to something that I was seeing before?
Regards,
Regards,
- 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
Do you have g++ installed?
What compilers do you have defined in CodeLite? (settings->build settings-> compilers)
Eran
What compilers do you have defined in CodeLite? (settings->build settings-> compilers)
Eran
Make sure you have read the HOW TO POST thread
-
- 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
I have the following 5 compilers:
clang
clang++
cobra
gnu g++
gnu gcc
clang
clang++
cobra
gnu g++
gnu gcc
- 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
These are the default compilers.
Please run the setup wizard again from: Help->Run Setup Wizard Wizard
In the compilers page, click on the 'Scan' button and CodeLite will detect the installed compilers
Once, a real compilers are defined by CodeLite, go back to the code completion page (settings->code completion->ctags->search paths) and click on the 'Suggest' button
Eran
Please run the setup wizard again from: Help->Run Setup Wizard Wizard
In the compilers page, click on the 'Scan' button and CodeLite will detect the installed compilers
Once, a real compilers are defined by CodeLite, go back to the code completion page (settings->code completion->ctags->search paths) and click on the 'Suggest' button
Eran
Make sure you have read the HOW TO POST thread