Code::Blocks

User forums => Embedded development => Topic started by: AZ on September 08, 2019, 05:05:33 am

Title: function information?
Post by: AZ on September 08, 2019, 05:05:33 am
hello,
 what do i need (to enable) to have the same amount information in CB as i get in VisualCode about a function?
Title: Re: function information?
Post by: oBFusCATed on September 08, 2019, 06:00:51 pm
Write a plugin based on the language server protocol which talks to something like clangd...

This is in case you have the documentation popups enable in codecompletion settings...
Title: Re: function information?
Post by: AZ on September 09, 2019, 06:46:50 am
that would be over my head, unfortunately
Title: Re: function information?
Post by: stahta01 on September 09, 2019, 02:17:26 pm
This is in case you have the documentation popups enable in codecompletion settings...

Do you have the documentation popups enabled, as suggested?

Edit: It will not do all of what you want!

Tim S.
Title: Re: function information?
Post by: AZ on September 09, 2019, 03:54:46 pm
yes, I believe so.
General Settings -> Editor Settings -> documentation popup - tooltips = enable

Is there anything else that I need to change/check, please?
Title: Re: function information?
Post by: stahta01 on September 09, 2019, 05:06:13 pm
yes, I believe so.
General Settings -> Editor Settings -> documentation popup - tooltips = enable

Is there anything else that I need to change/check, please?

That sounds correct to me; but, I do not use Code Completion.

Tim S.
Title: Re: function information?
Post by: oBFusCATed on September 14, 2019, 07:33:13 pm
@AZ: When do you want to show this information? When you select a function (code-completion) or when inspecting parameters (call tip)? The documentation popup is visible at the moment only during function selection, but not during parameter inspection. I guess we need to improve this. :)

If you have the time it will be good if you could log this in the issue tracker on sf.net. Thank you.