当前位置:网站首页>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\""
边栏推荐
- PHP laravel8 send email
- Instanceof and type conversion
- Sqli-libs range 23-24 filtration and secondary injection practice
- Why don't we have our own programming language?
- Autojs, read one line, delete one line, and stop scripts other than your own
- SQLI_ LIBS range construction and 1-10get injection practice
- call和apply和bind的区别
- MMEditing中超分模型训练与测试
- Transfer Learning
- 学好C语言从关键字开始
猜你喜欢

Jenkins voucher management

Thymeleafengine template engine

Servlet

A multi classification model suitable for discrete value classification -- softmax regression

Review XML and JSON

FPGA interview notes (IV) -- sequence detector, gray code in cross clock domain, ping-pong operation, static and dynamic loss reduction, fixed-point lossless error, recovery time and removal time

This is probably the most comprehensive project about Twitter information crawler search on the Chinese Internet

Metasploitabile2 target learning

Summarize the five most common BlockingQueue features

Servlet
随机推荐
FPGA interview notes (III) -- implementation of handshake signal synchronization in cross clock domain, arbitrary frequency division, binary conversion, RAM memory, original code inversion and complem
Data quality: the core of data governance
Wechat applet (authorized login of TP5)
Global case | how an airline with a history of 100 years can expand and transform to promote innovation in the aviation industry
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
Learn C language well from keywords
Global case | how Capgemini connects global product teams through JIRA software and confluence
FMT package usage of go and string formatting
不同VLAN间的通信
Markdown + typora + picgo experimental report template attached
The difference between call and apply and bind
Analyze the principle of configuration center from the perspective of Nacos client
Super (subclass)__ init__ And parent class__ init__ ()
[TP5 online export picture generation excel detailed explanation example]
Print sparse arrays and restore
Build the first power cloud platform
ThymeleafEngine模板引擎
Goodbye 2021 Hello 2022
MySQL implements over partition by (sorting the data in the group after grouping)
jenkins-用户权限管理