如何右鍵打開vscode

這篇文章給大家分享的是有關(guān)如何右鍵打開vscode的內(nèi)容。小編覺得挺實用的,因此分享給大家做個參考,一起跟隨小編過來看看吧。

創(chuàng)新互聯(lián)公司10多年成都定制網(wǎng)頁設(shè)計服務(wù);為您提供網(wǎng)站建設(shè),網(wǎng)站制作,網(wǎng)頁設(shè)計及高端網(wǎng)站定制服務(wù),成都定制網(wǎng)頁設(shè)計及推廣,對成都搬家公司等多個方面擁有多年的網(wǎng)站維護經(jīng)驗的網(wǎng)站建設(shè)公司。

怎么右鍵打開vscode?

鼠標(biāo)右鍵vsCode打開

有時候在安裝vscode不會出現(xiàn)鼠標(biāo)右鍵用vscode打開的情況:

相關(guān)推薦:vscode教程

最終要實現(xiàn)的樣子:

如何右鍵打開vscode

解決辦法如下步驟:

1.安裝vscode;

2.新建一個“.reg”為后綴的文件;

3.把下面內(nèi)容復(fù)制到文件中;

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 VS Code\\Code.exe\",0" 
[HKEY_CLASSES_ROOT\Directory\shell\vscode\command] 
@="\"D:\\Microsoft VS Code\\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 VS Code\\Code.exe\",0" 
[HKEY_CLASSES_ROOT\Directory\Background\shell\vscode\command] 
@="\"D:\\Microsoft VS Code\\Code.exe\" \"%V\""
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 VS Code\\Code.exe\",0" 
[HKEY_CLASSES_ROOT\Directory\shell\vscode\command] 
@="\"D:\\Microsoft VS Code\\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 VS Code\\Code.exe\",0" 
[HKEY_CLASSES_ROOT\Directory\Background\shell\vscode\command] 
@="\"D:\\Microsoft VS Code\\Code.exe\" \"%V\""

4.把"D:\\Microsoft VS Code\\Code.exe\"換成安裝vscode的路徑

5.把文件名后綴為.reg的文件放到安裝vscode的與vscode.exe同級的文件夾中;

6.雙擊文件名后綴為.reg的文件,彈出詢問是否注冊,點擊確定;

7.回到桌面,鼠標(biāo)右鍵檢查是否出現(xiàn)上面圖片的樣子;

感謝各位的閱讀!關(guān)于“如何右鍵打開vscode”這篇文章就分享到這里了,希望以上內(nèi)容可以對大家有一定的幫助,讓大家可以學(xué)到更多知識,如果覺得文章不錯,可以把它分享出去讓更多的人看到吧!

網(wǎng)頁標(biāo)題:如何右鍵打開vscode
標(biāo)題網(wǎng)址:http://bm7419.com/article4/jjcsoe.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)頁設(shè)計公司網(wǎng)站內(nèi)鏈、商城網(wǎng)站品牌網(wǎng)站設(shè)計、網(wǎng)站制作網(wǎng)站改版

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都定制網(wǎng)站網(wǎng)頁設(shè)計