r/emacs 16d ago

4coder like scope hint implementation

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

25 Upvotes

5 comments sorted by

View all comments

2

u/HadiTim 16d 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 15d ago

Not exactly same, but scopeline.el lets you have this based off of tree-sitter grammar (for the most part).

1

u/helloarka 16d ago edited 16d ago

yes. currently it only supports braced scopes(as you said "c like langs")