6

While in C-mode I can jump to a function using M-. on the function name....is there a way i can simply display the function prototype? (preferably as a tooltip or so) I often struggle to remember the exact order and types required by a given function.

horseyguy
  • 29,455
  • 20
  • 103
  • 145

3 Answers3

8

c-eldoc-mode is a mode that is not as heavyweight as CEDET that will do precisely what you want.

Nathaniel Flath
  • 15,477
  • 19
  • 69
  • 94
5

CEDET (there are rumors that it is finally going to become part of Emacs starting with 23.2) is your friend. After installation, look up semantic-ia-show-summary.

Laurynas Biveinis
  • 10,547
  • 4
  • 53
  • 66
1

CEDET package provide function semantic-ia-show-summary that can show prototype for function/variable under point

Alex Ott
  • 80,552
  • 8
  • 87
  • 132