PackageDev icon indicating copy to clipboard operation
PackageDev copied to clipboard

"Definition & Reference" hover for sublime-syntax context names

Open michaelblyons opened this issue 5 years ago • 3 comments

Is there a way to get this thing for named contexts in .sublime-syntax? Ideally, I'd like the hover to be available (and to include) both definitions and uses... maybe even across files? (e.g. Git Formats/Git Common)

Screen Shot 2020-02-03 at 5 14 54 PM

michaelblyons avatar Feb 03 '20 22:02 michaelblyons

Yes and no. Yes, it is possible, but I would need to remove the string scopes because ST explicitly excludes them currently.

Upstream issue: https://github.com/sublimehq/sublime_text/issues/2546

FichteFoll avatar Feb 04 '20 00:02 FichteFoll

Thanks. That's exactly what I was looking for.

michaelblyons avatar Feb 04 '20 00:02 michaelblyons