Add relative paths .vscode
's c_cpp_properties.json
and settings.json
...
#1297
Labels
feature request
Suggested features
What's the feature:
Currently the extension generates e.g.
c_cpp_properties.json
with with absolute paths/home/user/ros_ws/...
which can be substituted with${workspaceFolder}
.and
settings.json
:This enables path-independent settings for any user cloning the workspace-repository.
There would be no need to re-generate the settings or any manual editing.
Why is it useful?
It would make exchanging an entire workspace between developers easy, where any developer uses the same configuration for IntelliSense, debugging, building and running - especially with large and complex setups.
My setups usually have the workspace as a parent git-repo where packages are git-submodules. I.e. it is meaningful to transfer
.vscode
of a workspace between developers.Currently, I manually change the paths and push them to the workspace git-repos.
Related:
#164
#129
The text was updated successfully, but these errors were encountered: