VScode
官网下载
https://code.visualstudio.com/
便携版下载
https://code.visualstudio.com/Download
文档
https://github.com/DIOLeo/VSCode-Portable
- 下载VSCode压缩包 https://code.visualstudio.com/Download
选择zip格式下载 解压到非中文目录,如D:\
- 在安装目录中创建名为
data
的文件夹
在data
文件夹下创建extensions
,temp
,user-data
文件夹 - 添加右键菜单 (可选)
右键AddShellLink.reg
用编辑文件打开,更改其中路径值
双击安装目录下的AddShellLink.reg
合并注册表
附注册表代码
Windows Registry Editor Version 5.00
;Open File
[HKEY_CLASSES_ROOT\*\shell\VSCode]
@="Open with Code"
"Icon"="D:\\VSCode\\VSCode-x64\\Code.exe"
[HKEY_CLASSES_ROOT\*\shell\VSCode\command]
@="\"D:\\VSCode\\VSCode-x64\\Start.bat\" \"%1\""
;Open Folder
[HKEY_CLASSES_ROOT\Directory\shell\VSCode]
@="Open with Code"
"Icon"="D:\\VSCode\\VSCode-x64\\Code.exe"
[HKEY_CLASSES_ROOT\Directory\shell\VSCode\command]
@="\"D:\\VSCode\\VSCode-x64\\Start.bat\" \"%V\""