Trying to get autocomplete to work with unions.
Example code:
union
{
uint8_t a[25];
uint8_t b[10];
uint8_t c[5];
} example;
Codelite doesn't complete the union name or find the members.
Autocomplete and unions doesn't seem to be working.
-
- CodeLite Curious
- Posts: 2
- Joined: Thu May 26, 2016 12:58 am
- 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: Autocomplete and unions doesn't seem to be working.
Please enable the Language Server plugin and install clangd.
This is the only way to get code completion to work properly.
https://wiki.codelite.org/pmwiki.php/Ma ... uageServer
This is the only way to get code completion to work properly.
https://wiki.codelite.org/pmwiki.php/Ma ... uageServer
Make sure you have read the HOW TO POST thread