Skip to content

Add support for ${workspaceFolder} variable #1392

@azydevelopment

Description

@azydevelopment
  • VSCode Version: Code 1.19.1 (0759f77bb8d86658bc935a10a64f6182c5a1eeba, 2017-12-19T09:46:23.884Z)
  • OS Version: Windows_NT x64 10.0.16299
  • Extensions:
Extension Author (truncated) Version
githistory don 0.2.3
cpptools ms- 0.14.5
csharp ms- 1.13.1
PowerShell ms- 1.5.1

Repro project: test.zip

Steps to Reproduce:

  1. Unzip attached repro test project zip
  2. Open test\0 folder with VSCode
  3. Try to ctrl+click the #include <1.h> file
  4. Notice that it doesn't despite in the cpp properties json file there exists "${workspaceFolder}/../1" in the include path. Since test/0 and test/1 folders are peers, I'd imagine if I go up a directory then down into the test/1 directory, the 1.h file should be resolved.

Reproduces without extensions: Yes/No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestLanguage ServicefixedCheck the Milestone for the release in which the fix is or will be available.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions