Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specific workspace folders to be referenced via ${workspaceFolder:folderName} #1774

Closed
sean-mcmanus opened this issue Apr 2, 2018 · 5 comments
Labels
Feature Request fixed Check the Milestone for the release in which the fix is or will be available. help wanted Can be fixed in the public (open source) repo. Language Service
Milestone

Comments

@sean-mcmanus
Copy link
Collaborator

From @Jvinniec in #1627 :
I'm trying to work in a workspace with multiple folders and according to this post I should be able to specify the paths to the individual folders with something like ${workspaceFolder:FolderName}. The relevant note is:

For example, in a multi root workspace with folders Server and Client, a ${workspaceFolder:Client} refers to the path of the Client root.

@azydevelopment
Copy link

Is this due to get implemented? It would make development so much easier when you have a project that depends on another project but is in a different folder and want the includes to resolve correctly in the cpp properties json file.

@sean-mcmanus
Copy link
Collaborator Author

sean-mcmanus commented May 7, 2018

@azydevelopment It's not on our schedule yet, so I'm not sure when we'll get around to adding it...might just be a couple line change, not sure. I think it's possible to implement this in our open source code if anyone wants to contribute a fix :)

@bobbrow
Copy link
Member

bobbrow commented May 22, 2018

I opened a pull request for this.

@sean-mcmanus sean-mcmanus added this to the 0.17.2 milestone May 22, 2018
@sean-mcmanus sean-mcmanus added the fixed Check the Milestone for the release in which the fix is or will be available. label May 22, 2018
@sean-mcmanus
Copy link
Collaborator Author

@azydevelopment It's implemented in 0.17.3.

@azydevelopment
Copy link

Thanks guys that's awesome! I'll let you know if I run into any issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature Request fixed Check the Milestone for the release in which the fix is or will be available. help wanted Can be fixed in the public (open source) repo. Language Service
Projects
None yet
Development

No branches or pull requests

3 participants