vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Support for `${userHome}`

Open paulober opened this issue 2 years ago • 3 comments

Feature Request

You can find the official variables here: https://code.visualstudio.com/docs/editor/variables-reference

Currently the only what to make system independent configuration for c_cpp_properties.json is to use stuff like ${env:HOME}/compiler/arm-none-eabi-gcc. As you can see this isn't platform independent as it doesn't work on Windows, where the alternative would be ${env:USERPROFILE}/compiler/arm-none-eabi-gcc.

So please implement support for ${userHome} as platform independent alias for the node.js homedir(): https://nodejs.org/api/os.html#oshomedir

paulober avatar Dec 04 '23 12:12 paulober

This feature request is being closed due to insufficient upvotes. Please leave a 👍-upvote or 👎-downvote reaction on the issue to help us prioritize it. When enough upvotes are received, this issue will be eligible for our backlog.

github-actions[bot] avatar Feb 03 '24 11:02 github-actions[bot]

/reopen

paulober avatar Feb 03 '24 11:02 paulober

This shouldn't be hard to do. Updating tags.

bobbrow avatar Feb 06 '24 17:02 bobbrow

@paulober Fixed with https://github.com/microsoft/vscode-cpptools/releases/tag/v1.20.0

sean-mcmanus avatar Mar 26 '24 22:03 sean-mcmanus

Thanks for implementing. This really solves some issues in my projects.

paulober avatar Mar 26 '24 23:03 paulober