온갖 잡 정보들
VSCode portable 버전 사용할 때 마우스 오른클릭에 vscode 등록
서똥
2024. 7. 5. 15:01
아래 코드를 메모장으로 열고 .reg 파일로 저장하고 오른클릭으로 실행
- 경로는 VSCode 경로에 맞춰 수정
- 폴더 구분자 슬래시는 \임
Windows Registry Editor Version 5.00
; Open files
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code]
@="Edit with VS Code"
"Icon"="C:\\Users\\seodd\\VSCode-win32-x64-1.90.2\\Code.exe,0"
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command]
@="\"C:\\Users\\seodd\\VSCode-win32-x64-1.90.2\\Code.exe\" \"%1\""
; This will make it appear when you right click ON a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOT\Directory\shell\vscode]
@="Open Folder as VS Code Project"
"Icon"="C:\\Users\\seodd\\VSCode-win32-x64-1.90.2\\Code.exe,0"
[HKEY_CLASSES_ROOT\Directory\shell\vscode\command]
@="\"C:\\Users\\seodd\\VSCode-win32-x64-1.90.2\\Code.exe\" \"%1\""
; This will make it appear when you right click INSIDE a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOT\Directory\Background\shell\vscode]
@="Open Folder as VS Code Project"
"Icon"="C:\\Users\\seodd\\VSCode-win32-x64-1.90.2\\Code.exe,0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\vscode\command]
@="\"C:\\Users\\seodd\\VSCode-win32-x64-1.90.2\\Code.exe\" \"%V\""