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.
- Host: GitHub
- URL: https://github.com/eval-exec/super-hint.el
- Owner: eval-exec
- License: gpl-3.0
- Created: 2024-09-20T08:38:01.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-29T00:54:57.000Z (9 months ago)
- Last Synced: 2025-04-09T12:06:59.418Z (3 months ago)
- Language: Emacs Lisp
- Homepage:
- Size: 641 KB
- Stars: 17
- Watchers: 1
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.org
- License: LICENSE
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!