The semantic completion engine is divided into two bins. There are
'collectors', and 'displayors'. The collectors control what is selected
for completion. The displayor controls what you see when completions
are shown.
To change the technique that the completion engines use to show your
completions, you need to change the displayor. There are two variables
you can customize for this:
semantic-complete-inline-analyzer-displayor-class
semantic-complete-inline-analyzer-idle-displayor-class
Select the option for tooltips, and you will be done. The reason
tooltips are not the default is because I was not able to make them
reliable for all variants of Emacs.
I know others have asked about how company mode and predictive show
completions in an in-buffer menu. Someone would need to write a new
displayor class (much like the tooltip one) to make that work.
Eric
On 08/08/2010 10:08 AM, Justin Delegard wrote:
> First of all, it had been a while since I updated CEDET, but I'm glad I
> did. It's quite impressive and will server me needs spectacularly.
> Thank you!
>
> Second, I'm trying to use semantic-complete-analyze-inline function with
> the tooltip menu. It normally displays only a limited number of items,
> forcing me to hit TAB to expand the list. I've explored the code a
> little and found that the tooltip displayor class has a force-show
> configuration option which configures this behavior. I can't for the
> life of me figure out how to actually customize it (beyond hard-coding
> it as the default value in the code). Can someone help?
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> cedet-semantic mailing list
> cedet-semantic@...
> https://lists.sourceforge.net/lists/listinfo/cedet-semantic
>
|