Skip to content

"Include file not found in include directory" when directories contain environment variables #87

@xtrium-lnx

Description

@xtrium-lnx

Hi,
I'm trying to make the switch to vscode for a c++ project with multiple contributors. The project is currently developed on windows and current bug was only tested on this platform.

Since we're more than one, we've set up environment variables pointing to where our libraries' include files are.

When trying to add "${ZENVIRONMENT_PATH}/include" to the includePath of the project, vscode gives a "Include file not found in include directory" message on all includes from said path. This happens whether the environment variable is a system or a user one.

Directly using the absolute path of the folder to add to includes fixes the problem, but isn't viable for me.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions