Author Topic: function information?  (Read 27109 times)

Offline AZ

  • Almost regular
  • **
  • Posts: 151
function information?
« 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?
CB: nightly build .
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: function information?
« Reply #1 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...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline AZ

  • Almost regular
  • **
  • Posts: 151
Re: function information?
« Reply #2 on: September 09, 2019, 06:46:50 am »
that would be over my head, unfortunately
CB: nightly build .
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Online stahta01

  • Lives here!
  • ****
  • Posts: 7678
    • My Best Post
Re: function information?
« Reply #3 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline AZ

  • Almost regular
  • **
  • Posts: 151
Re: function information?
« Reply #4 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?
CB: nightly build .
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Online stahta01

  • Lives here!
  • ****
  • Posts: 7678
    • My Best Post
Re: function information?
« Reply #5 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: function information?
« Reply #6 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline AZ

  • Almost regular
  • **
  • Posts: 151
Re: function information?
« Reply #7 on: June 30, 2020, 02:53:31 am »
@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.

@oBFusicated:
 i never got a notice of your reply. My apologies. The ticket has been filed. thank you. (https://sourceforge.net/p/codeblocks/tickets/986/)
« Last Edit: June 30, 2020, 02:58:07 am by AZ »
CB: nightly build .
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)