I have disabled the code .
command opening cursor. Occasionally, opening VSCode with code .
causes some updates to VSCode which replaces some core files:
(base) …@Sami:~/myrepo$ code .
Updating VS Code Server to version 906121b8c0bdf041c14a15dac228e66ab5505260
Removing previous installation…
Installing VS Code Server for x64 (906121b8c0bdf041c14a15dac228e66ab5505260)
Downloading: 100%
Unpacking: 100%
Unpacked 4917 files and folders to /home/…/.cursor-server/bin/906121b8c0bdf041c14a15dac228e66ab55052
After that, code .
reverts to opening Cursor. This is a problem because the WSL extension is broken with Cursor, so essentially this forces me to re-replace code .
each time there’s an update to VSCode until Cursor properly works with WSL.