/super-hint.el

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

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

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

2024-09-20_16-39-37.mp4

Configuration

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

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

  :config

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

  ;; (super-hint-disable-rg)

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

  ;; (super-hint-disable-xref)

  )

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!