Author Topic: function information?  (Read 1073 times)

Offline AZ

  • Almost regular
  • **
  • Posts: 139
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: latest available from Jen's RPM repo for Fedora
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12125
    • 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: 139
Re: function information?
« Reply #2 on: September 09, 2019, 06:46:50 am »
that would be over my head, unfortunately
CB: latest available from Jen's RPM repo for Fedora
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6676
    • 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 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline AZ

  • Almost regular
  • **
  • Posts: 139
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: latest available from Jen's RPM repo for Fedora
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6676
    • 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 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12125
    • 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!]