-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Resolve userHome variable in c_cpp_properties.json #12071
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
Conversation
|
Are there other variables we should add support for while we're in there? Of the ones on https://code.visualstudio.com/docs/editor/variables-reference, the following also seem supportable in this context: ${workspaceFolderBasename} - the name of the folder opened in VS Code without any slashes (/) |
We actually have support for the few of these already. I don't think the proposed change is the "best" approach. Please see: private get ExtendedEnvironment()in configurations.ts (around line 421). This is where we dealt with vs code's variables (except for workspaceFolder which is special). |
I think that's beyond the scope of this particular change? i.e. I would think those could/should be fixed separately unless it's trivial? |
They are all implemented already with the exception of |
Addresses: #11756