Page 1 of 1

Keyword and tag completion problem

Posted: Wed Nov 24, 2010 7:15 am
by fanhe0513
1. In the past when codelite could not auto-display the wordcompletion-box, I like to set auto-insert single math. But It has a problem nowadays. I do not set auto-display wordcompletion-box and set auto-insert single math, I want to type "puts", when I type "pu", the keyword completion is actived, the result is "public", I can not control.

2. We know keyword completion would auto-display wordcompletion-box on typing with 2 chars. If I set 2 chars of tag auto-display trigger, the wordcompletion-box do not have any keyword entry.

3. Tooltips will wrap the long text nowadays, but I think it's better if it will not split words over two lines. It is best to display the original text.

Thanks for your great work and how to solve the problem? In particular, the first problem.

Re: Keyword and tag completion problem

Posted: Wed Nov 24, 2010 11:25 am
by eranif
fanhe0513 wrote:1. In the past when codelite could not auto-display the wordcompletion-box, I like to set auto-insert single math. But It has a problem nowadays. I do not set auto-display wordcompletion-box and set auto-insert single math, I want to type "puts", when I type "pu", the keyword completion is actived, the result is "public", I can not control.
You will need to disable the auto-suggestion for C/C++ keywords.
go to: Settings | Tags Settings | General , Sub tab: "Display and Behavior"
and untick the option: Display completion box for language keywords
fanhe0513 wrote:e know keyword completion would auto-display wordcompletion-box on typing with 2 chars. If I set 2 chars of tag auto-display trigger, the wordcompletion-box do not have any keyword entry.
I am not sure I understand this one
fanhe0513 wrote: 3. Tooltips will wrap the long text nowadays, but I think it's better if it will not split words over two lines. It is best to display the original text.
This is done because under GTK if the Window is too long, it will crash the X-server - so we cant change it

Eran

Re: Keyword and tag completion problem

Posted: Thu Nov 25, 2010 5:58 am
by fanhe0513
2.

Re: Keyword and tag completion problem

Posted: Thu Nov 25, 2010 5:59 am
by fanhe0513
2. I want "struct".

Re: Keyword and tag completion problem

Posted: Thu Nov 25, 2010 6:07 am
by fanhe0513
3. check the 2 images. In image 1, the word "SDL_MouseMotionEvent" and "SDL_JoyHatEvent" and "SDL_QuitEvent" are splited.