racer-rust / emacs-racer

Racer support for Emacs
398 stars 48 forks source link

Switch result type and signature #20

Open landaire opened 8 years ago

landaire commented 8 years ago

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
ane commented 8 years ago

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.

Wilfred commented 8 years ago

Related: #45.