r/github • • 21d 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

5 comments sorted by

4

u/Successful-Army6006 21d 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.

1

u/D1deem 21d ago

Thank you so much! I've done it and it works just fine!

3

u/ImDevinC 21d 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 21d ago

Ohhhhh I think I understand! Thanks a lot!

1

u/kigory2 19d ago

idk thats weird but you can just use the website