Despite being updated to the newest version of Local, and even attempting to uninstall/reinstall, I’m missing the button to be able to open the site files directly in VSCode. When I newly installed it on another machine, it successfully appears - but not on this machine that had the existing install that was updated.
What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc
Local was just updated at first, but then I completely uninstalled and re-installed Local with no success of the VS Code button appearing. I can only think that files are remaining even after uninstalling, but i’m not sure why it wouldn’t have appeared after updating to 9.2.0.
Installing on a new machine that has not had any version of Local previously successfully displays the VS Code button.
System Details
Local Version: 9.2.0+6762
Operating System (OS) and OS version: Windows 11 Pro
@wintsec I don’t see your logs there, but feel free to try again!
One thing you can try on your Windows 11 Pro machine is to open a terminal (cmd or PowerShell) to type this, then press enter:
code --version
If you see no output or “code: command not found” or “the term ‘code’ is not recognized” or similar, that will explain why Local can’t detect VS Code on this machine.
Normally code is installed automatically by the VS Code installer (except on macOS, but we use a different detection test there). You could try re-installing VS Code or adding the path to the code command manually as recommended in the VS Code docs.
Windows and Linux installations should add the VS Code binaries location to your system path. If this isn’t the case, you can manually add the location to the Path environment variable ($PATH on Linux). For example, on Windows, the default VS Code binaries location is AppData\Local\Programs\Microsoft VS Code\bin . To review platform-specific setup instructions, see Setup.
Thank you so much – that definitely seemed to be the issue. I reinstalled VS Code, and made sure that it set up the path this time. It appeared in Local after a restart.