Eclipse - pointer to function parameter hints

Displaying the parameters of a function prompt is a very practical thing and a good way to save time. Is there a way to display Eclipse display options for pointing the pointer.

struct {
    void (*bar)(p1, p2, p3...);
} foo;
foo.bar("Ctrl+Space")

      

report the following error

java.lang.ClassCastException: org.eclipse.cdt.internal.core.index.composite.c.CompositeCField cannot be cast to [Lorg.eclipse.cdt.core.dom.ast.IBinding;

      

+3


source to share


1 answer


The ClassCastException is captured in error 517954 , which Iona kindly filed.



However, a ClassCastException is not the reason for the missing parameter hints. Displaying parameter hints based on the function pointer type is something that has not been implemented in CDT. Error 517978 is now in the file for this.

+2


source







All Articles