On 10/04/2010 03:13 AM, Aneesh Kumar K. V wrote:
> On Thu, 30 Sep 2010 09:56:45 +0530, "Aneesh Kumar K. V"<aneesh.kumar@...> wrote:
>> On Wed, 29 Sep 2010 22:07:46 -0400, "Eric M. Ludlam"<eric@...> wrote:
>>> On 09/29/2010 04:10 PM, Aneesh Kumar K.V wrote:
>>>>
>>>> I have the below customization done related to semantic.
>>>>
>>>> '(semantic-complete-inline-analyzer-displayor-class (quote semantic-displayor-tooltip))
>>>> '(semantic-completion-displayor-format-tag-function (quote semantic-format-tag-summarize))
>>>>
>>>> I was expecting to see function prototype also as a part of completion,
>>>> ie something similar to
>>>>
>>>> http://alexott.net/common/writings/emacs-devenv/cedet-qt-name-completion.png
>>>>
>>>> But with functions it just gives the function name and not the
>>>> prototype. Member variables of the struct is shown properly with type
>>>> information. Any configuration i am missing
>>>
>>> I tried the below, and I got full prototypes both in and out of structures.
>>>
>>> Perhaps you can provide an example that does fail, and I hS interpreted
>>> the context you had described incorrectly.
>>
>> Completion on function names was not showing the function argument and
>> return types in tooltip. This is with the upstream emacs trunk branch
>>
>
> Any update on this ? Are function name inline auto completion not
> expected to show parameter and argument type for c-mode ?
Hi,
I can't reproduce the problem, so I don't really have an answer. It is
supposed to work, and has worked for me when I tried your example. The
only thing I can think of is that your tags are somehow deficient due to
an external parser you may be using, or your headers have #ifdef PROTO
type things for KnR C and your macro table is wrong. Since using the
non-tip version works (if I remember from an early email) then I am
quite flummoxed on this topic, but can't do much about it.
Eric
|