当前位置:网站首页>Fix the problem that the right mouse button does not have a vscode shortcut
Fix the problem that the right mouse button does not have a vscode shortcut
2022-06-11 06:19:00 【Empty nest youth_ rui】
Fix right mouse button does not vscode The problem of quick entry
Problem description :
If installing vscode The vscode Add to Explorer context menu , Then you can't use the right mouse button to quickly pass vscode Open a file or folder . This is in addition to reinstallation vscode outside , You can also add a right-click shortcut by adding a registration key to the registry .
resolvent :
adopt Code There are three scenarios to open :
- Right click folder , have access to vscode open
- Right click the single file , have access to vscode Editing
- Right click the blank space , have access to vscode open
This corresponds to three registry entries , Create a text file on the desktop , Name it at will , After creation, rewrite the suffix to .reg.
Then right-click the file , choice “ edit ” Open file , Paste in the following :
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\VSCode]
@="Edit with VS Code"
"Icon"="D:\\Microsoft VS Code\\Code.exe"
[HKEY_CLASSES_ROOT\*\shell\VSCode\command]
@="\"D:\\Microsoft VS Code\\Code.exe\" \"%1\""
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\VSCode]
@="Open with VS Code"
"Icon"="D:\\Microsoft VS Code\\Code.exe"
[HKEY_CLASSES_ROOT\Directory\shell\VSCode\command]
@="\"D:\\Microsoft VS Code\\Code.exe\" \"%V\""
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode]
@="Open with VS Code"
"Icon"="D:\\Microsoft VS Code\\Code.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode\command]
@="\"D:\\Microsoft VS Code\\Code.exe\" \"%V\""
Be careful : need Change the file path to your local computer vscode Installation path for , Can pass vscode View the properties of the shortcut . At the same time Will copy... In the path Single \ Change to double \\ .
After editing , Save the file , Right click on the file to execute “ Merge ” operation , Merge the registry file into the registry of this computer .
Right click to view vscode A quick entrance to .
Description of the registration item statement :
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\VSCode] ; The menu that pops up when you right-click a file
@="Edit with VS Code" ; Displayed text
"Icon"="D:\\Microsoft VS Code\\Code.exe" ; The icon displayed
[HKEY_CLASSES_ROOT\*\shell\VSCode\command] ; Commands to execute
@="\"D:\\Microsoft VS Code\\Code.exe\" \"%1\"" ; Specific command code ,%1 Represents the first parameter , Right click the path of the selected file
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\VSCode] ; The menu that pops up when you right-click a folder
@="Open with VS Code"
"Icon"="D:\\Microsoft VS Code\\Code.exe"
[HKEY_CLASSES_ROOT\Directory\shell\VSCode\command]
@="\"D:\\Microsoft VS Code\\Code.exe\" \"%V\"" ;%V The meaning is the same as %1, Just replace with the current working path when the path is empty
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode] ; A menu pops up when you right-click an empty space in a folder
@="Open with VS Code"
"Icon"="D:\\Microsoft VS Code\\Code.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\VSCode\command]
@="\"D:\\Microsoft VS Code\\Code.exe\" \"%V\""
边栏推荐
- This point of arrow function
- Simple knapsack problem
- FPGA设计中提高工作频率及降低功耗题目合集
- A collection of problems on improving working frequency and reducing power consumption in FPGA design
- Topic collection of FIFO minimum depth calculation
- How to use perforce helix core with CI build server
- How to treat the ethical issues arising from driverless Technology
- Basic usage of MySQL
- FPGA interview notes (II) -- synchronous asynchronous D flip-flop, static and dynamic timing analysis, frequency division design, retiming
- Thymeleafengine template engine
猜你喜欢

Notes sur les questions d'entrevue de la FPGA (IV) - - détecteur de séquence, Code gris dans le domaine de l'horloge croisée, opération de ping - pong, réduction de la perte statique et dynamique, err

Convert multiple pictures into one NPY file storage

What do you need to know about Amazon evaluation?

Cenos7 builds redis-3.2.9 and integrates jedis

Sign for this "plug-in" before returning home for the new year

What is a planning BOM?

Installing and using sublist3r in Kali

通过R语言且只用基础package来制作一个小游戏

FPGA设计——乒乓操作实现与modelsim仿真

Examinelistactivity of Shandong University project training
随机推荐
Pycharm usage experience
EasyGBS接入的设备视频直播突然全部无法播放是为什么?数据库读写不够
Sign for this "plug-in" before returning home for the new year
The meaning in the status column displayed by PS aux command
Matlab实现均值滤波与FPGA进行对比,并采用modelsim波形仿真
Sqoop installation tutorial
Wechat applet (authorized login of TP5)
Servlet
What is a planning BOM?
jenkins-用户权限管理
Summarize the five most common BlockingQueue features
[daily exercise] 217 Duplicate element exists
Using Internet of things technology to accelerate digital transformation
Detailed steps for installing mysql-5.6.16 64 bit green version
PHP processing tree and infinite processing
Shandong University machine learning experiment 7 pca+ SVM face recognition
Chapter 6 of machine learning [series] random forest model
亚马逊、速卖通、Lazada、虾皮平台在用911+VM的环境可以进行产号、养号、补单等操作吗?
Topic collection of FIFO minimum depth calculation
ThymeleafEngine模板引擎