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

General questions regarding the usage of CodeLite
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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 ;)

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post by evstevemd »

I will try today again and see what it will give out :D

CodeLite 15.x
CodeLite is awesome, I just Love it!

zainka
CodeLite Curious
Posts: 7
Joined: Mon Mar 15, 2010 11:18 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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)
DJBobo
CodeLite Enthusiast
Posts: 18
Joined: Sun Apr 05, 2009 9:46 am
Genuine User: Yes
IDE Question: C++
Location: Southern Russia
Contact:

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

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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
Make sure you have read the HOW TO POST thread
josee
CodeLite Enthusiast
Posts: 37
Joined: Fri Feb 05, 2010 10:57 am
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post by eranif »

Try Ctrl-M (to hide the right side pane) and see if it improves anything
Eran
Make sure you have read the HOW TO POST thread
josee
CodeLite Enthusiast
Posts: 37
Joined: Fri Feb 05, 2010 10:57 am
Genuine User: Yes
IDE Question: C++
Contact:

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

Post by josee »

Thanks.
Post Reply