Page 1 of 1

Tip: how to make the completion tip to re-appear

Posted: Sun Feb 14, 2010 10:37 pm
by eranif
When typing a function arguments, codelite displays a tooltip with the function arguments.
There are cases where one hit the ESC key and that tip is dismissed, to make it re-appear you could:
  • Go back to the begining of the function, delete the opening brace and retype it
OR

Simply hit Ctrl-Shift-SPACE

Re: Tip: how to make the completion tip to re-appear

Posted: Fri Mar 12, 2010 10:37 am
by evstevemd
My Code completion partially works. It sometimes doesn't work with wxWidgets
Strangely sometimes it works, so I don't know what is wrong. Is there a way to activate it once it deactivated?
Don't mention Ctrl+Space as I'm used to it in IntelliJ Idea ;)

Re: Tip: how to make the completion tip to re-appear

Posted: Fri Mar 12, 2010 11:06 am
by eranif
evstevemd wrote:It sometimes doesn't work with wxWidgets
This is a vague statement - which I cant do nothing with.

If you encounter a case where the code completion does not work for you, please describe it in a separate post on this forum and I will have a look at it
evstevemd wrote:Is there a way to activate it once it deactivated?
No - the code completion is not a plugin (unlike other IDEs) - it is a core functionality of codelite.

The code completion can not be de-activated - like I said earlier, if it does not work for you, you will have to provide a use case so I can have a look at it.

Eran

Re: Tip: how to make the completion tip to re-appear

Posted: Fri Mar 12, 2010 11:20 am
by evstevemd
I will try today again and see what it will give out :D

Re: Tip: how to make the completion tip to re-appear

Posted: Tue Mar 16, 2010 12:18 am
by zainka
evstevemd wrote:I will try today again and see what it will give out :D
I get the same problem from time to time and I solve it by re declaring the, for example, structure.

In

Code: Select all

1     typedef SomeStruct {
2       .
3       .
4       .
5     } SOME_STRUCT;
6     SOME_STRUCT A_Struct;
I have to rewrite line 6. Then things start to be working agin. It will still be defined the exact same way, but I have to redo it for CL to registrate it correctly as an object with members.

This may have something to do with how CL is registrating internally this kind of objects where it seems to be loosing track of it from time to time.
It has happen several times, but have not found any red thread. However, this is the only problem I have had with CL ever and I find it to be a very solid program. That is. It would have been nice if the list with sugestions taht pops up was in the same order as declared and not sorted as it is pr. today. Sorting it does not make any sense at all (or atleast it should be a configuration choice as also should be for the entire sugestion mechanism as well)

Re: Tip: how to make the completion tip to re-appear

Posted: Sat Apr 23, 2011 10:50 am
by DJBobo
evstevemd wrote:My Code completion partially works. It sometimes doesn't work with wxWidgets
Strangely sometimes it works, so I don't know what is wrong. Is there a way to activate it once it deactivated?
Don't mention Ctrl+Space as I'm used to it in IntelliJ Idea ;)
I have this problem too, sometimes completion works, sometime doesn't. I can't figure out what is causing of this issue, but it so....

My datas: CL 4778
Ubuntu 10.04
wxWidgets 2.8.10

Re: Tip: how to make the completion tip to re-appear

Posted: Sun Apr 24, 2011 9:06 am
by eranif
sometimes when you are at the bottom of method, it wont complete - save the file and try again (Ctrl-S followed by Ctrl-SPACE)

Eran

Re: Tip: how to make the completion tip to re-appear

Posted: Tue May 20, 2014 10:19 am
by josee
Hello Eran,

what can I do about signature of function beeing too long to fit in the completion tip?

(At the bottom of the image the function signature of new_trienode does not fit in the tip)
CompletionTipTooLong.png

Re: Tip: how to make the completion tip to re-appear

Posted: Tue May 20, 2014 11:35 am
by eranif
Try Ctrl-M (to hide the right side pane) and see if it improves anything
Eran

Re: Tip: how to make the completion tip to re-appear

Posted: Tue May 20, 2014 12:13 pm
by josee
Thanks.