Associated files
1. Open Win R and run, enter regedit, open the registry, find the HKEY_CLASSES_ROOT\*\shell branch, if not For shell branch, right-click under * and select "New - Item" to create a shell branch.
2. Create a new "VisualCode" item under the shell, and enter "open with visual code" in the "Default" key value column of the right window. This is the value displayed by the VisualCode startup program when you right-click the mouse. . The name and key value of the item can be arbitrary, as long as the meaning is clear. The key value will be displayed in the right-click menu.
3. Create a new Command item under "VisualCode" and enter the path of the Notepad program in the "Default" key value column of the right window. Mine is: "D:\Program Files (x86 )\Microsoft VS Code\code.exe" "%1". The %1 represents the file parameters to be opened. That is the Visual Code startup program. If you can't find it, search for Visual Studio Code in the start, then right-click to open the file location
4, close the registry, and it will take effect.
Associated folders
The above method can display: "open with visual code" in the menu bar when right-clicking on the file, but it still cannot be done when right-clicking on the folder. This option is displayed, so you need to perform the following operations:
Open the registry, find HKEY_CLASSES_ROOT\Directory\shell
, and add it according to the methods 2 and 3 above.
Add Icon
Create a new expandable string value on the original item, name it Icon, and put D:\Program like a key-value pair Files (x86)\Microsoft VS Code\code.exe just put it in.
Delete
When updating the program or uninstalling Visual code, just find the corresponding location in the registry and modify or delete it.
By the way, the right-click binding deletion of 360 Security Guard: find "HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers"; if it is an item that is only valid for the folder, store it in
“HKEY_CLASSES_ROOT\Directory\shell” “HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers” “HKEY_CLASSES_ROOT\Folder\shell” “HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers”
Just delete them after you find them.
Recommended related articles and tutorials: vscode tutorial
The above is the detailed content of Add vscode shortcut on right click. For more information, please follow other related articles on the PHP Chinese website!

VisualStudio is suitable for large-scale project development, while VSCode is suitable for projects of all sizes. 1. VisualStudio provides comprehensive development tools, such as integrated debugger, version control and testing tools. 2.VSCode is known for its scalability, cross-platform and fast launch, and is suitable for fast editing and small project development.

VisualStudio is suitable for large projects and Windows development, while VSCode is suitable for cross-platform and small projects. 1. VisualStudio provides a full-featured IDE, supports .NET framework and powerful debugging tools. 2.VSCode is a lightweight editor that emphasizes flexibility and extensibility, and is suitable for various development scenarios.

When choosing VisualStudio, the free version is suitable for individual developers and small teams, and the paid version is suitable for large enterprises and users who need advanced features. 1. The free CommunityEdition provides basic development tools for individuals and small teams. 2. Paid Professional and Enterprise Editions provide advanced features and support for business environments and large teams.

VisualStudio provides a variety of features to improve development efficiency. 1. Interface and navigation: manage projects through menu bar, toolbar and other components. 2. Code editing and intelligent perception: Provide code completion and formatting tools. 3. Debugging and testing: Support breakpoint settings and variable monitoring. 4. Version control: Integrate with Git and other systems to facilitate team collaboration.

VisualStudio and VSCode have their own advantages and disadvantages, which are suitable for different development needs. VisualStudio is suitable for large projects and provides rich functions; VSCode is lightweight, flexible, and has cross-platform support.

VisualStudio is a multi-functional integrated development environment that supports multiple programming languages and complete development processes. 1) Code editing: Provides intelligent code completion and reconstruction. 2) Debugging: Built-in powerful debugging tools, supporting breakpoint and variable monitoring. 3) Version control: Integrate Git and TFVC to facilitate team collaboration. 4) Testing: Supports multiple test types to ensure code quality. 5) Deployment: Provides a variety of deployment options to support deployment requirements from on-premises to the cloud.

VisualStudio is suitable for large-scale project development, while VSCode is suitable for lightweight and highly customizable environments. 1. VisualStudio provides powerful intelligent perception and debugging functions, suitable for large-scale projects and enterprise-level development. 2. VSCode provides flexibility and customization capabilities through extended systems, suitable for multiple programming languages and cross-platform development.

VisualStudio subscriptions are available in multiple levels, suitable for different developers' needs. 1. The basic version is free and suitable for individuals and small teams. 2. Advanced versions such as Professional and Enterprise provide advanced tools and team collaboration functions, suitable for enterprise users.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

SublimeText3 Mac version
God-level code editing software (SublimeText3)
