Windows Registry Editor Version 5.00
; 通过 Code(WSL) 打开
[HKEY_CLASSES_ROOT\Directory\shell\VSCode(WSL)] @="通过 Code(WSL) 打开" "Icon"="C:\\Users\\Lantern\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe"
[HKEY_CLASSES_ROOT\Directory\shell\VSCode(WSL)\command] @="wsl.exe code ."
[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode(WSL)] @="通过 Code(WSL) 打开" "Icon"="C:\\Users\\Lantern\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode(WSL)\command] @="wsl.exe code ."
[HKEY_CLASSES_ROOT\Directory\LibraryFolder\shell\VSCode(WSL)] @="通过 Code(WSL) 打开" "Icon"="C:\\Users\\Lantern\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe"
[HKEY_CLASSES_ROOT\Directory\LibraryFolder\shell\VSCode(WSL)\command] @="wsl.exe code ."
[HKEY_CLASSES_ROOT\Drive\shell\VSCode(WSL)] @="通过 Code(WSL) 打开" "Icon"="C:\\Users\\Lantern\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe"
[HKEY_CLASSES_ROOT\Drive\shell\VSCode(WSL)\command] @="wsl.exe code ."
[HKEY_CLASSES_ROOT\*\shell\VSCode(WSL)] @="通过 Code(WSL) 打开" "Icon"="C:\\Users\\Lantern\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe"
[HKEY_CLASSES_ROOT\*\shell\VSCode(WSL)\command] @="wsl wslpath -u "%1" |xargs code"
|