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

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

Multi root not supported? #35

Open woytowg opened 6 years ago

woytowg commented 6 years ago

If I have just one root folder in a workspace, all is good. But when I add a second or more root folder, the symbols from the new root folders are not found.

woytowg commented 6 years ago

I think the fix would be to always run the 'global' command with the current working directory set to the path of current/active editor, since global looks from the current directory up to find the GTAGS,G* files