codelite icon indicating copy to clipboard operation
codelite copied to clipboard

[Question]: Why no completion is shown for "flo" word even when math.h is included?

Open EmilyGraceSeville7cf opened this issue 3 years ago • 1 comments

CodeLite: 14.0.0

#include <stdio.h>
#include <math.h>

int main (int argc, char **argv) {
    float result = floor (4.3);
    printf ("result = %f\n", result);
    return 0;
}

When I type flo I expect floor to be shown in completion list but it's not there. What should I do?

EmilyGraceSeville7cf avatar Oct 03 '22 14:10 EmilyGraceSeville7cf

Missing some information here:

  • Do you have a language server configured and enabled?
  • Which OS?

CodeLite 14.0 is quite old, I highly recommend to upgrade it

Once upgraded, if you are still facing problems, follow this wiki page - mainly focus on the clangd

eranif avatar Oct 08 '22 11:10 eranif