-
Notifications
You must be signed in to change notification settings - Fork 88
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
${workspaceFolder}
not supported in manualCoverageFilePaths
#396
Comments
@garymm Thanks for the ticket, I am not familiar with |
Visual Studio Code supports variable substitution in Debugging and Task configuration files as well as some select settings. Variable substitution is supported inside some key and value strings in launch.json and tasks.json files using ${variableName} syntax. source https://code.visualstudio.com/docs/editor/variables-reference You could make it work but it would definitely not be free. The best (quickest) option for low maintenance is to specify in the docs/description of the config option ( |
Thanks @mattseddon sounds like a good option on the documentation front. |
This unfortunately precludes sharing these settings with a team. We're actually running into this issue right now, where we want to put these setting into our versioned Are we open to accepting a PR to support either |
I can't speak for @ryanluker but I would say that if you are sharing settings/extensions with a team then a good option is to create a shared dev container. https://code.visualstudio.com/docs/devcontainers/create-dev-container |
@josephzidell Thanks for the input! The repo is very open for PRs to add extra support as long as the tests pass and the performance isn't worsened for the other path use cases. Take a look at @mattseddon 's suggestion first though and see if that fills your needs 🤔. |
Describe the bug
I have a coverage file in some subdirectory of my workspace.
When I specify the path as relative to my workspace, or using
${workspaceFolder}
, the extension is not able to load the file. It fails with errors likeENOENT: no such file or directory, open ...
If I replace
${workspaceFolder}
with the absolute path to my workspace, the extension is able to load the file.E.g.:
This works:
This doesn't:
This doesn't:
Desktop (please complete the following information):
Additional context
Thanks for the extension!
The text was updated successfully, but these errors were encountered: