Page 1 of 1
Code hinting And Autocompletion questions
Posted: Fri May 04, 2012 6:49 am
by Sidar
Code Hinting:(Maybe I overlooked it)
Does codelite support code hinting? In the sense that it underlines variables and such (I.E. Never used variables ) or points out when a syntax error is made.
As for auto-completion:
Why can't I filter out an include folder?
I'm using SFML and when I type
And hit control space, nothing happens.
When I type:
it shows me everything within the project except the SFML headers.
My project does compile normal without complaining about the SFML headers and such. The auto completion just isn't doing much?
Also:
Any link to a page explaining why I would want to use clang over ctag?
OS and version:
Windows 7 Enterprise.
v3.5.5377
Re: Code hinting And Autocompletion questions
Posted: Fri May 04, 2012 9:10 am
by eranif
Sidar wrote:Does codelite support code hinting? In the sense that it underlines variables and such (I.E. Never used variables ) or points out when a syntax error is made.
No
Sidar wrote:it shows me everything within the project except the SFML headers.
I will check this one out
Sidar wrote:Also:
Any link to a page explaining why I would want to use clang over ctag?
http://www.codelite.org/LiteEditor/ClangIntegration35
Eran
Re: Code hinting And Autocompletion questions
Posted: Fri May 04, 2012 9:17 am
by Sidar
No
Well are there any plans for that or is that practically impossible to implement it with the current structure?
Edit:
Reading the clang page...I'm not really sure if im doing it right. But is it also necessary to include paths to libraries such as SFML? In fact if i don't add the include path to clang it says it doesn't know what SFML is.
Thanks for the Reply
Re: Code hinting And Autocompletion questions
Posted: Fri May 04, 2012 9:26 am
by eranif
Sidar wrote:Well are there any plans for that or is that practically impossible to implement it with the current structure?
There are no plans on implementing it at this point in time. Simply from resources point of view.
Sidar wrote:But is it also necessary to include paths to libraries such as SFML?
codelite should get the include paths from the project settings, so unless you are using your own makefile and not using codelite's build system, you should not add anything (assuming that you already specified the path to SFML in the project settings)
Eran
Re: Code hinting And Autocompletion questions
Posted: Fri May 04, 2012 9:39 am
by Sidar
Well I have added the SFML includes to the compilers include path.
I might be doing something completely wrong( even though my project runs fine with no errors whatsoever), maybe also why the #include auto complete doesn't work.
But i had to add it manually for clang as well.
include paths is set to:
Re: Code hinting And Autocompletion questions
Posted: Fri May 04, 2012 10:19 am
by eranif
Sidar wrote:.;$(ProjectPath)/SFML/include
can you try and add it using full paths without macros?
Eran
Re: Code hinting And Autocompletion questions
Posted: Fri May 04, 2012 1:05 pm
by Sidar
If you meant for the #include completion: No effect.
Absolute path works for clang though.