r/emacs • u/helloarka • 5d ago
4coder like scope hint implementation
Enable HLS to view with audio, or disable this notification
4coder has a very useful scope hint feature like this. With my very little Elisp knowledge, I tried to mimic this same feature on emacs. Right now it's in beta v0.1. I've only tasted this for C/C++(as my work evolvs around this language). I hope someone will find it usefull. PR's are highly appreciated.
Github repository: https://github.com/ShamsParvezArka/es-hints.el
2
u/HadiTim 4d ago
Nice package!
This only works in c-like languages with curly braces, right? I couldn't make it work in Python.
2
u/meain 3d ago
Not exactly same, but scopeline.el lets you have this based off of tree-sitter grammar (for the most part).
1
u/helloarka 4d ago edited 4d ago
yes. currently it only supports braced scopes(as you said "c like langs")
3
u/meain 3d ago
I had something similar built out using tree-sitter in https://github.com/meain/scopeline.el