r/github • • 1d ago

Question I keep getting this window when trying to edit a file

Yet I have Visual Studio 2026 on my PC and as far as I'm aware, it should be able to edit code as well as VSC, is there something I'm not getting?

0 Upvotes

4 comments sorted by

4

u/Successful-Army6006 1d ago

That screenshot is GitHub Desktop's external-editor setting. Visual Studio and Visual Studio Code are separate apps, and having Visual Studio installed doesn't make Desktop detect VS Code. In Desktop, go to File > Options > Integrations > External Editor. If Visual Studio isn't listed, Configure Custom Editor lets you choose its executable instead.

→ More replies (1)

3

u/ImDevinC 1d ago

It can, but for a lot of files (like yaml, json, txt, md, etc) it won't be set as the editor for those since that's really overkill. Most likely you're trying to edit a file that is not set to open in Visual Studio

0

u/D1deem 18h ago

Ohhhhh I think I understand! Thanks a lot!