Fix Broken "Open With Code" Shell Extension
.@visualstudio @code How do I fix this context menu that was broken in the last update? Help! pic.twitter.com/30d89P1pdj
— Matt Burke ☧ (@akatakritos) September 22, 2015
The last update to Visual Studio Code broke the convenient “Open With Code” shell extension. Previously, you’d be able to right click on a file or folder in Explorer and open it in a new instance of Code. But after the update, the icon is broken and Windows instead opens a dialog to choose what program you’d like to use to view the file.
After trying a few shell extension remover tools, I tried reinstalling, which created a new working context menu entry, but the existing broken entry still appeared.
.@VisualStudio @code Reinstalled and now I have two context menu entries, but at least one of them works. pic.twitter.com/ZjmvjRZT0A
— Matt Burke ☧ (@akatakritos) September 22, 2015
I finally got an answer back from whoever runs VS Code’s social media. Kudos to Microsoft for keeping on top of things.
@akatakritos that's not good sorry about that... Delete these bad boys in registry... pic.twitter.com/r1ak2sdt3j
— code (@code) September 23, 2015
Archiving this information here for future reference.
The registry keys are:
HKEY_CURRENT_USER\Software\Classes\*\shell\Ticino
HKEY_CURRENT_USER\Software\Classes\directory\shell\Ticino
HKEY_CURRENT_USER\Software\Classes\directory\background\shell\Ticino
See also this SuperUser question.
“Ticino” was probably the products code name during development. During the last update, some references to that name were removed, but the broken references hung around.