helm-gtags icon indicating copy to clipboard operation
helm-gtags copied to clipboard

List candidates in helm-gtags-select in flat format

Open tuhdo opened this issue 11 years ago • 2 comments

I love the helm-gtags-select command that helps me to search tags so quickly. However, I wish it has an option to list every tag in usual format: <file>:<line number>: <line contains tag>, similar to how helm-etags-select works, like in this demo. It's really useful to combine with another source, like helm-semantic-or-imenu, so I can navigate tags in current buffer as well as in current project with just one command. But it only works when tags are displayed in flat format.

tuhdo avatar Oct 19 '14 09:10 tuhdo

I wish it has an option to list every tag in usual format: :: , similar to how helm-etags-select works

It is difficult because GNU global does not provides such feature.

syohex avatar Oct 22 '14 11:10 syohex

So, is it possible to switch back to previous Helm command invoked? As I said above, I combine helm-source-semantic along with helm-source-gtags-select together into a command. Now, when I enter a tag in helm-source-gtags-select, it switches to another Helm buffer contains definitions of the tag. I want to invoke a command to resume previous session of my custom Helm command. In helm-etags-select session, when press C-x C-f it returns you to helm-find-files.

tuhdo avatar Oct 22 '14 11:10 tuhdo