racer icon indicating copy to clipboard operation
racer copied to clipboard

racer-find-definition does not work with macros

Open fitzgen opened this issue 9 years ago • 4 comments

Steps to reproduce:

  • Open a rust source file in emacs with racer mode
  • Position the cursor over try in a try!(...) macro invocation
  • Do M-. (aka racer-find-definition)

Expected results:

Jump to the definition of the try! macro in the rust checkout that racer was configured with

Actual results:

Nothing happens

fitzgen avatar Sep 03 '15 01:09 fitzgen

Hi @fitzgen , I'm afraid racer doesn't support macros yet, sorry

phildawes avatar Sep 03 '15 14:09 phildawes

There's a PR up for this now! https://github.com/phildawes/racer/pull/463

jwilm avatar Jan 09 '16 16:01 jwilm

I see #463 laded a while ago, but this still doesn't work in emacs. Is it just an emacs problem?

JayKickliter avatar Sep 11 '17 22:09 JayKickliter

That fix appears limited to macros in the same file. As far as I know, this remains unsupported by racer.

TedDriggs avatar Sep 13 '17 00:09 TedDriggs