An open API service indexing awesome lists of open source software.

https://github.com/eval-exec/super-hint.el

Add `which-function` as hint for `rg` & `xref` results.
https://github.com/eval-exec/super-hint.el

Last synced: 3 months ago
JSON representation

Add `which-function` as hint for `rg` & `xref` results.

Awesome Lists containing this project

README

        

* Enhance rg & xref results with which-function's hints.
** Image description

[[./super-hint.png]]

(bottom window is xref's result buffer, on the left of xref window, it's super-hint.el's hints)

** Video description

[[https://github.com/user-attachments/assets/a6ff75d7-c56d-4e33-b4f2-ebdc311848d8][video preview]]

* Configuration

Note: super-hint.el need https://github.com/dajva/rg.el

#+begin_src elisp
(use-package super-hint
:load-path "~/Projects/github.com/eval-exec/super-hint.el/"

:config

(require 'rg)
(require 'super-hint-rg)
(super-hint-rg-mode 1) ;; then M-x rg-project to enjoy super-hint

(require 'super-hint-xref)
(super-hint-xref-mode 1) ;; then M-x xref-find-references to enjoy super-hint

;; (which-function-mode t) ;; enable which-function mode if you not
)

#+end_src

* Contributions Welcome!

I recently started this GitHub repo and I’m eager to hear your thoughts. If you have any ideas, suggestions, or needs, please share them by opening an issue or submitting a pull request. Your feedback is highly valued!