austin----- / code-gnu-global

Provide Intellisense for C/C++ with the help of the GNU Global tool in Visual Studio Code
152 stars 67 forks source link

Auto generate gtags #27

Open dfroze opened 7 years ago

dfroze commented 7 years ago

Hy there, I am new to this feature and might be already a solution, in that case I am sorry for this issue. Is there a way to generate (and a smart way, not to regenerate from 0) every time when saving the file? From what I understand I have to go and run gtags every time i modify to have everything up to date. Is that correct?

Thank you

csholmq commented 7 years ago

@dfroze Haven't touched this extension in a while, but my merge (https://github.com/austin-----/code-gnu-global/pull/14) changed the behaviour to incremental auto-generate every time you save a file. You still need to do the initial generate though.

dfroze commented 7 years ago

@csholmq Oh, thank you. Sorry for the post. It took me like 2 month to find out about the global bug.

csholmq commented 7 years ago

The readme seems old. You could suggest an update of the instructions via PR.

dfroze commented 7 years ago

Thanks. Sure, I'll do that, but it will take a bit until then. Just found out what PR stands for :))