Page 1 of 1

[BUG] Code completion starting after minimum of 2 chars regardless settings

Posted: Wed Aug 02, 2023 9:40 pm
by kil'ka
cl_code_completion_settings.png

https://github.com/eranif/codelite/blob ... editor.cpp
line: 1399: if((GetWordAtCaret().Len() >= 2) && min_chars_typed) {

CodeLite 17.4.0


Re: [BUG] Code completion starting after minimum of 2 chars regardless settings

Posted: Thu Aug 03, 2023 1:49 am
by kil'ka

It's not a bug. I'm wrong. It's a mess...
If i'll choose 1 char to trigger code completion in settings it will be ignored, because there is another hardcoded condition in the same place. What the logic behind of this decision? Why code completion starts after typing 2 chars? It's not convenient