I installed Codelite from AUR on Arch Linux. I'm coding a C project, so I'd like to use C code completion.
When I started typing some code, the code completion worked as usually. But once I've saved the file as foo.c, the code completion ceased to work.
I created a workspace in hope this would help but now the code completion doesn't work even in cpp files, even though it's enabled in the settings.
Can you help me please?
Code completion not working
-
- CodeLite Curious
- Posts: 6
- Joined: Thu Mar 17, 2016 7:25 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: Code completion not working
Did you add the file foo.c to the project?
Eran
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 6
- Joined: Thu Mar 17, 2016 7:25 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Code completion not working
Thanks!eranif wrote:Did you add the file foo.c to the project?
Eran
Well, after creating a project it started to work. Why didn't it without creating a project?
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Code completion not working
The code completion needs to know the include paths, definitions and other build attributes that are part of the project settings
This is where it will attempt to search for "#include" statement and other info it needs for getting the code completion to work
Eran
This is where it will attempt to search for "#include" statement and other info it needs for getting the code completion to work
Eran
Make sure you have read the HOW TO POST thread