Resolve userHome variable in c_cpp_properties.json - #12071
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