# Missing "VS Code" button for sites

**URL:** <https://community.localwp.com/t/missing-vs-code-button-for-sites/47107>\
**Category:** Support\
**Created:** [February 18, 2025, 3:49pm UTC](https://community.localwp.com/t/missing-vs-code-button-for-sites/47107 "2025-02-18T15:49:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![wintsec](https://avatars.discourse-cdn.com/v4/letter/w/e47c2d/32.png) [@wintsec](https://community.localwp.com/u/wintsec)\
**Post date:** [February 18, 2025, 3:49pm UTC](https://community.localwp.com/t/missing-vs-code-button-for-sites/47107/1 "2025-02-18T15:49:03Z")

</div>

### What issue or error are you experiencing?

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

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [February 18, 2025, 4:22pm UTC](https://community.localwp.com/t/missing-vs-code-button-for-sites/47107/2 "2025-02-18T16:22:13Z")

</div>

Hi @wintsec!

The device that you installed Local on where it worked, was this also on Windows 11? Or was it a different OS/version?

Could you also share your Local Log here for your Windows 11 setup where it’s not working?

[Retrieving Local’s Log File](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/#download-local-logs)

---

<div class="post-metadata">

**Author:** ![wintsec](https://avatars.discourse-cdn.com/v4/letter/w/e47c2d/32.png) [@wintsec](https://community.localwp.com/u/wintsec)\
**Post date:** [February 18, 2025, 4:35pm UTC](https://community.localwp.com/t/missing-vs-code-button-for-sites/47107/3 "2025-02-18T16:35:59Z")

</div>

I appreciate the response!

The only difference is that the machine where it worked was Windows 11 Home, verses the one where it didn’t work is Windows 11 Pro.

Apologies for not including the logs – I think/hope i’ve uploaded them correctly!

---

<div class="post-metadata">

**Author:** ![nickc](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nickc/32/21209_2.png) [@nickc](https://community.localwp.com/u/nickc)\
**Post date:** [February 18, 2025, 5:24pm UTC](https://community.localwp.com/t/missing-vs-code-button-for-sites/47107/4 "2025-02-18T17:24:52Z")

</div>

@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:

```auto
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](https://code.visualstudio.com/docs/editor/command-line).

> 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](https://code.visualstudio.com/docs/setup/setup-overview).

---

<div class="post-metadata">

**Author:** ![wintsec](https://avatars.discourse-cdn.com/v4/letter/w/e47c2d/32.png) [@wintsec](https://community.localwp.com/u/wintsec)\
**Post date:** [February 18, 2025, 5:51pm UTC](https://community.localwp.com/t/missing-vs-code-button-for-sites/47107/5 "2025-02-18T17:51:52Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [February 19, 2025, 2:01pm UTC](https://community.localwp.com/t/missing-vs-code-button-for-sites/47107/6 "2025-02-19T14:01:10Z")

</div>

Closed on February 19, 2025, 2:01pm UTC


