emacs-racer icon indicating copy to clipboard operation
emacs-racer copied to clipboard

Switch result type and signature

Open landaire opened this issue 8 years ago • 2 comments

Is there any way to switch the completions so they're of the format result Function : foo() instead of result foo() : Function? I have company-tooltip-align-annotations enabled but it's still kind of difficult if you're just scanning for a particular signature.

screen shot 2016-04-20 at 10 09 36

landaire avatar Apr 20 '16 17:04 landaire

The annotation is directly from racer, so you'd need to create a custom format string and parse its elements, and use the format string to display them in another order. It's not impossible, just that this format felt more intuitive as it was developed.

ane avatar Aug 03 '16 06:08 ane

Related: #45.

Wilfred avatar Aug 27 '16 19:08 Wilfred