Python——Win10下修改Python默認打開方式爲VS code

1. Win+R打開運行,輸入regedit.exe打開註冊表編輯器 2.找到:計算機\HKEY_CLASSES_ROOT\Python.File\Shell\open\command  修改值爲VS Code的安裝位置的Code.exe,  如果是默認安裝位置,則爲"C:\Program Files\Microsoft VS Code\Code.exe" "%1" Sublime Text同理
相關文章
相關標籤/搜索