jaycetyle / vscode-gnu-global

Visual Studio Code GNU Global Extension
MIT License
33 stars 14 forks source link

Support MAKEOBJDIRPREFIX #1

Closed jaycetyle closed 5 years ago

jaycetyle commented 5 years ago

MAKEOBJDIRPREFIX is an enviroment variable which can be configured. If $MAKEOBJDIRPREFIX directory exists, gtags creates $MAKEOBJDIRPREFIX/ directory and makes tag files in it. Global will search $MAKEOBJDIRPREFIX/ for tag files. We can avoid tag files messing up the project directory.

It seems like that the Windows version of GNU Global doesn't support this option because the paths in Windows have drive prefix (ex: c:/) and GNU Global cannot work with it. Despite this limitation, this feature is still nice to have for Linux users.