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

What are the ways to add vscode shortcuts to the right mouse button toolbar

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

Share

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

Editor to share with you the methods of adding vscode shortcuts to the right mouse button toolbar, I believe most people do not know much about it, so share this article for your reference. I hope you will gain a lot after reading this article. Let's learn about it together.

Method 1:

It's easy to uninstall and reinstall this method to create it in the right mouse button toolbar, but a lot of configurations are gone, and you have to rely on Microsoft's server to restore the configuration, sometimes it's a real headache. The last time you reinstalled the system, you couldn't log in to a Microsoft account for a long time, and finally you got on it with the help of a tool.

Method 2:

Anywhere, create a new XXX.reg registry script file with any name, but the suffix must be .reg, and then paste the following code inside:

Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\ *\ shell\ VSCode]; the menu that pops up when you right-click the file @ = "Edit with Visual Studio Code"; the text "Icon" = "D:\\ Program Files\\ Microsoft VSCode\\ Code.exe"; the icon displayed [HKEY_CLASSES_ROOT\ *\ shell\ VSCode\ command]; the command to be executed @ = "\" D:\ Program Files\\ Microsoft VSCode\\ Code.exe "% 1\" The specific command code,% 1 represents the first parameter; that is, 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 Visual Studio Code"Icon" = "D:\\ Program Files\\ Microsoft VSCode\\ Code.exe" [HKEY_CLASSES_ROOT\ Directory\ shell\ VSCode\ command] @ = "\" D:\\ Program Files\\ Microsoft VSCode\\ Code.exe "\" V\ ";% V means the same as% 1; only replace it with the current working path if the path is empty

"D:\ Program Files\ Microsoft VS Code\ Code.exe" is the personal installation path. You can right-click the shortcut property to copy and replace the above path in the destination (it is recommended to convert "\" to "\" before copying), and note that "\" should be converted to "\".

Save the file, double-click to execute, choose yes all the way, and you can finish it, which is quite convenient.

Method 3:

This method feels more tedious and is essentially similar to the second method, but I look at the registry, my eyes hurt, I feel very uncomfortable, and I feel very unsuitable for me, so this method simply posts the address "add vscode shortcut on the right button".

These are all the contents of this article entitled "what are the ways to add vscode shortcuts to the right mouse button toolbar?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

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