cua icon indicating copy to clipboard operation
cua copied to clipboard

Check development setup for Windows compatibility

Open jamesmurdza opened this issue 2 months ago • 4 comments

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.

jamesmurdza avatar Oct 21 '25 20:10 jamesmurdza

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.

skools-here avatar Oct 25 '25 18:10 skools-here

Thank you @skools-here! Are you able to test on Windows?

jamesmurdza avatar Oct 25 '25 23:10 jamesmurdza

Yes @jamesmurdza i tested it and its working fine on windows

Image

If you say i can make a PR regarding this!

skools-here avatar Oct 26 '25 13:10 skools-here

@skools-here Yes, please make a PR! Thank you.

jamesmurdza avatar Oct 26 '25 23:10 jamesmurdza

Fixed in https://github.com/trycua/cua/pull/520 . Closing the issue.

synacktraa avatar Dec 10 '25 09:12 synacktraa