emacsorphanage / helm-gtags

GNU GLOBAL helm interface
204 stars 31 forks source link

List candidates in helm-gtags-select in flat format #83

Open tuhdo opened 9 years ago

tuhdo commented 9 years ago

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.

syohex commented 9 years ago

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.

tuhdo commented 9 years ago

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.