Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to right-click to open vscode

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article is about how to right-click to open vscode. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

How to right open vscode?

Right mouse button vsCode open

Sometimes when installing vscode, there is no right mouse button opening with vscode:

Related recommendation: vscode tutorial

What it will look like in the end:

The solution is as follows:

1. Install vscode

two。 Create a new file with the suffix ".reg"

3. Copy the following to the file

Windows Registry Editor Version 5.00; Open files [HKEY_CLASSES_ROOT\ *\ shell\ Open with VS Code] @ = "Edit with VS Code"Icon" = "D:\\ Microsoft VS Code\\ Code.exe,0" [HKEY_CLASSES_ROOT\ *\ shell\ Open with VS Code\ command] @ = "\" D:\\ Microsoft VS Code\\ 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 with VSCode"Icon" = "\" D:\\ Microsoft VSCode\\ Code.exe\ ", 0" [HKEY_CLASSES_ROOT\ Directory\ shell\ vscode\ command] @ = "\" D:\\ Microsoft VSCode\\ 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 with VSCode"Icon" = "\" D:\\ Microsoft VSCode\\ Code.exe\ ", 0" [HKEY_CLASSES_ROOT\ Directory\ Background\ shell\ vscode\ command] @ = "\" D:\\ Microsoft VSCode\\ Code.exe\ "% V\" D:\\ Microsoft VSCode\\ Code.exe 0 "[HKEY_CLASSES_ROOT\ *\ shell\ Open with VS Code\ command] @ ="\ "D:\\ Microsoft VS Code\\ 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 with VSCode"Icon" = "\" D:\\ Microsoft VSCode\\ Code.exe\, 0 "[HKEY_CLASSES_ROOT\ Directory\ shell\ vscode\ command] @ ="\ "D:\\ Microsoft VSCode\\ 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 with VSCode"Icon" = "\" D:\\ Microsoft VSCode\\ Code.exe\, 0 "[HKEY_CLASSES_ROOT\ Directory\ Background\ shell\ vscode\ command] @ ="\ "D:\\ Microsoft VSCode\\ Code.exe\"\ "% V\"

4. Change "D:\\ Microsoft VS Code\\ Code.exe\" to the path where vscode is installed

5. Put the file with the suffix .reg in the folder where vscode is installed at the same level as vscode.exe

6. Double-click the file with the suffix .reg, pop up and ask if you want to register, and click OK.

7. Go back to the desktop and check with the right mouse button to see if the picture above looks like

Thank you for reading! This is the end of the article on "how to right open vscode". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report