Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show the current function name at the bottom of the emacs #1393

Closed
zhihuiFan opened this issue Jun 2, 2020 · 1 comment
Closed

show the current function name at the bottom of the emacs #1393

zhihuiFan opened this issue Jun 2, 2020 · 1 comment

Comments

@zhihuiFan
Copy link

After I run rtags-find-references-at-point, I can get some like below snapshot. I can easily
navigate among the different callees. but I can't know the function name of the callee easily. do you think we can add such support? Thanks!

issue #1288 is about rtags-find-references-at-point as well.

image

@zhihuiFan
Copy link
Author

zhihuiFan commented Oct 17, 2020

Looks rtags-after-find-file-hook is a great place to hack. it is trigged after I choose a helm candidate.

(defvar c-func-name)
(add-hook 'rtags-after-find-file-hook
          (lambda() (setq c-func-name (c-defun-name))
            ))

then we can add it to mode-line-format list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant