@frederik-labbe currently the "scope" information on the status bar is computed with symbols_get_current_scope(). It's kind of tricky/hacky because no, currently there is no information as to where the tag ends in the CTags side. Universal-CTags is improving this, but we don't use it yet, and it's not supported for every languages at all either.
What we currently do is a mix of "between 2 tags starts" and looking at Scintilla's fold points to see if we're inside the right thing.

It would probably be possible, or maybe even fairly easy, to slightly alter this code so it properly gives out a tag structure if it can find one.

As to the feature, I think it sounds nice. I didn't investigate if it would have downsides yet though, but well it can always be an option.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.