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

CodeLite installation/troubleshooting forum
kil'ka
CodeLite Curious
Posts: 6
Joined: Mon Dec 26, 2022 5:31 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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

You do not have the required permissions to view the files attached to this post.
kil'ka
CodeLite Curious
Posts: 6
Joined: Mon Dec 26, 2022 5:31 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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

Post Reply