emacsorphanage / helm-gtags

GNU GLOBAL helm interface
204 stars 31 forks source link

Automatically asks to create GTAGS database #64

Closed tuhdo closed 10 years ago

tuhdo commented 10 years ago

ggtags has a convenient feature, that is, when a GTAGS database is not found and user invokes a ggtags command, it asks user whether to create or not. If user chooses to create, a database is generated; after the database is generated, the previous ggtags command is resumed with the new database.

I think it would be really convenient if helm-gtags can do such thing, so user won't have to jump to project root and manually invoke gtags shell command.

syohex commented 10 years ago

It sounds good.

syohex commented 10 years ago

I have implemented. Please check latest version.

tuhdo commented 10 years ago

Thanks for the new feature. It works great. A minor improvement: it should close the Helm buffer used for prompting project root and print a message in a minibuffer like: "gtags is generating tags...." to indicate that Emacs is waiting for gtags to finish and not being hanged.