Check development setup for Windows compatibility
We're currently using the following .vscode/settings.json:
{
"python-envs.pythonProjects": [],
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python"
}
This may not work on Windows, which uses backslashes as path delimiters.
We can fix this by making the VS Code Python interpreter path cross-platform. Options:
Set python.defaultInterpreterPath: ${workspaceFolder}/.venv so VS Code auto-detects the correct interpreter for Windows (Scripts/python.exe) and Unix (bin/python).
Alternatively, detect OS via a setup script, but option 1 is simpler and works well. I can open a PR using option 1 to ensure compatibility on all platforms.
Thank you @skools-here! Are you able to test on Windows?
Yes @jamesmurdza i tested it and its working fine on windows
If you say i can make a PR regarding this!
@skools-here Yes, please make a PR! Thank you.
Fixed in https://github.com/trycua/cua/pull/520 . Closing the issue.