Hello!
I've successfully get it to work completely including GDB-Debugger,
but if I enter for example #include <st... for #include <stdio.h> the code completion
doesn't work. Nor for any include for wxWidgets. I've tried to Re-Tag my projects but
nothing!
Any suggestions?
Thanks
greets
-René
Codecompletion OsX 10.9.2 Codelite 5.4 WxWidgets 3.0.0
-
- CodeLite Enthusiast
- Posts: 15
- Joined: Tue Mar 06, 2012 12:11 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Codecompletion OsX 10.9.2 Codelite 5.4 WxWidgets 3.0.0
The code completion works when you type CMD+SPACE
On OSX, this shortcut is default to the search shortcut.
In addition, in order for code completion to work, you should define the search paths for the include paths
Can you please provide the information as described in this forum thread?
Eran
On OSX, this shortcut is default to the search shortcut.
In addition, in order for code completion to work, you should define the search paths for the include paths
Can you please provide the information as described in this forum thread?
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 15
- Joined: Tue Mar 06, 2012 12:11 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Codecompletion OsX 10.9.2 Codelite 5.4 WxWidgets 3.0.0
Hi!
Basically I've get it now to work, but I've got some issues regarding includes...
But... First things first...
Have a look if I did something wrong.
In Settings->Tags Settings under CTags->SearchPaths I've got this
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include
/Library/Frameworks
/System/Library/Frameworks
/usr/include
/usr/include/c++/4.2.1
/usr/include/c++/4.2.1/backward
/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include
/usr/local/include
/Users/rhoeger/Documents/WxWidgets/tags/WX_3_0_0/include
And in my project settings I've got... Code competion is now working...
But in case of wxWidgets the "wx/..." prefix doesn't work.
For example... I want to enter "#inlcude <wx/event.h>"
I'm typing "#include <wx" now I would expect that code completion suggest me the folder "wx/" but I get only
all headers starting with "wx".
Btw. I can enter directly "#include <event.h> which seems to be the header of "wx/event.h".
What can I do to get this working?
Thanks!
greets
-René
Basically I've get it now to work, but I've got some issues regarding includes...
But... First things first...
Have a look if I did something wrong.
In Settings->Tags Settings under CTags->SearchPaths I've got this
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include
/Library/Frameworks
/System/Library/Frameworks
/usr/include
/usr/include/c++/4.2.1
/usr/include/c++/4.2.1/backward
/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include
/usr/local/include
/Users/rhoeger/Documents/WxWidgets/tags/WX_3_0_0/include
And in my project settings I've got... Code competion is now working...
But in case of wxWidgets the "wx/..." prefix doesn't work.
For example... I want to enter "#inlcude <wx/event.h>"
I'm typing "#include <wx" now I would expect that code completion suggest me the folder "wx/" but I get only
all headers starting with "wx".
Btw. I can enter directly "#include <event.h> which seems to be the header of "wx/event.h".
What can I do to get this working?
Thanks!
greets
-René
You do not have the required permissions to view the files attached to this post.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Codecompletion OsX 10.9.2 Codelite 5.4 WxWidgets 3.0.0
Hi,
An FYI: the project settings has little impact on the code completion (unless you are using clang based code completion, see here for info: http://codelite.org/LiteEditor/ClangIntegration41 )
The "file-completion" is not that smart it suggests based on file names
It not recommended to include directly event.h, but rather wx/event.h (unless I misunderstood you...)
Since you are using OSX, will you be interested in testing codelite 6.0?, I usually don't release "pre-releases", however, this release contains a big feature - LLDB debugger integration with codelite
Eran
An FYI: the project settings has little impact on the code completion (unless you are using clang based code completion, see here for info: http://codelite.org/LiteEditor/ClangIntegration41 )
The "file-completion" is not that smart it suggests based on file names
It not recommended to include directly event.h, but rather wx/event.h (unless I misunderstood you...)
Since you are using OSX, will you be interested in testing codelite 6.0?, I usually don't release "pre-releases", however, this release contains a big feature - LLDB debugger integration with codelite
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 15
- Joined: Tue Mar 06, 2012 12:11 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Codecompletion OsX 10.9.2 Codelite 5.4 WxWidgets 3.0.0
Hello!
header files included in wxWidgets. Event (wx/event.h) is an example. I have some libraries
this problem occurs too. Codelite finds the headers without any problem but don't respect the folders where the headers are in.
It's a little bit confusing.
What compiler do you suggest to use in future? Stay at gcc or llvm?
Thanks!
greets
-René
I meant that if I enter "wx" the code completion doesn't suggest the folder "wx/". I must always have to know whatIt not recommended to include directly event.h, but rather wx/event.h (unless I misunderstood you...)
header files included in wxWidgets. Event (wx/event.h) is an example. I have some libraries
this problem occurs too. Codelite finds the headers without any problem but don't respect the folders where the headers are in.
It's a little bit confusing.
Sure, that would be great. It took a long time to get the gdb-debugger working under Mavericks.Since you are using OSX, will you be interested in testing codelite 6.0?, I usually don't release "pre-releases", however, this release contains a big feature - LLDB debugger integration with codelite
What compiler do you suggest to use in future? Stay at gcc or llvm?
Thanks!
greets
-René
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Codecompletion OsX 10.9.2 Codelite 5.4 WxWidgets 3.0.0
I moved to clang (codelite is not built with clang under OSX)LairdTurner wrote:Sure, that would be great. It took a long time to get the gdb-debugger working under Mavericks
Please open a feature request for thisLairdTurner wrote:I meant that if I enter "wx" the code completion doesn't suggest the folder "wx/". I must always have to know what
header files included in wxWidgets. Event (wx/event.h) is an example. I have some libraries
this problem occurs too.
Eran
Make sure you have read the HOW TO POST thread