You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the ${env:GENDEV} is empty, even though I've exported it in my .bashrc file. This prevents to include the SGDK resources paths:
I've also tried to overwrite the variables in the Genesis Code settings but the results are the same. The current workaround is to replace the ${env:GENDEV} variable in the settings.json with the current SGDK path (variable ${env:HOME} is expanded correctly, for example).
The text was updated successfully, but these errors were encountered:
Hi zerasul:
I'm using the Doragasu image to compile the project, but I understand that the resolution of the paths simply relies on the C__Cpp.default.includePath array defined in the settings.json.
As I said in the first message, It's Genesis Code who configures these paths by using the ${env:GENDEV} variable, and the issue of not finding the SGDK resources is resolved when replacing it with either the absolute path or using other environment variables provided by VSCODE, but none of the ones defined in the Genesis Code Settings.
So the thing is, if ${env:GENDEV} can't be used in settings.json, why does a Genesis Code: create project command use it to compose the includePath paths of the SGDK? Shouldn't it be replaced with something else?
VSCODE version: 1.79.2
ISSUE: When creating a project from zero, Genesis code configures the
settings.json
like this:But the
${env:GENDEV}
is empty, even though I've exported it in my.bashrc
file. This prevents to include the SGDK resources paths:I've also tried to overwrite the variables in the Genesis Code settings but the results are the same. The current workaround is to replace the
${env:GENDEV}
variable in thesettings.json
with the current SGDK path (variable${env:HOME}
is expanded correctly, for example).The text was updated successfully, but these errors were encountered: