Skip to content

Instantly share code, notes, and snippets.

View emilpalsson's full-sized avatar

Emil Pålsson emilpalsson

View GitHub Profile
@emilpalsson
emilpalsson / open-with-code-user-install.reg
Last active May 4, 2023 16:00
Restore the "Open with Code" context menu (aka right click menu) items for the user installed version of vscode on Windows. To run, simply save the file (with the .reg file extension) and double click it.
Windows Registry Editor Version 5.00
; To use (expand) environment variables in the registry, the value must be of
; the type REG_EXPAND_SZ. A REG_EXPAND_SZ is represented as HEX in reg exports.
; Right click on any file
[HKEY_CURRENT_USER\Software\Classes\*\shell\vscode]
@="Open with Code"