racer-rust / emacs-racer

Racer support for Emacs
399 stars 48 forks source link

Support completion for std macros #65

Closed Wilfred closed 5 years ago

Wilfred commented 7 years ago

Racer now supports macros in the same source file. However, it does not support other macros (see racer #387).

We should offer completion of std macros, even without goto definition. This should include syntax extensions, namely macro_rules! (I'm not aware of others that are built-in to rustc), libstd macros (see relevant std source code) and rustc extensions (see libsyntax source code).

I don't think this belongs in company-keywords, we should support this inside racer.el.

Wilfred commented 5 years ago

Seems work with vec! and print! now, presumably some additional smarts have landed in racer.