emacsorphanage / helm-gtags

GNU GLOBAL helm interface
203 stars 32 forks source link

When searching for a tag, have tags present in the local file show up first on the list #188

Open larumbe opened 5 years ago

larumbe commented 5 years ago

I use helm-gtags all the time on my C projects. Oftentimes a tag name has multiple matches because of the symbol being defined more than once, in the event that different implementations are available, for instance when these are compiled conditionally according to a set of macros in a config header file. It would be nice though if when you search for a tag, occurrences of the symbol within the same source file showed up on top of the match list because most of the time that's the one you want to jump to straight away.