vscode默认浏览器设置
时间: 2023-09-20 16:04:54 浏览: 207
在VSCode中设置默认打开浏览器,可以通过安装插件"open-in-browser"来实现。首先,在VSCode中点击 "文件-首选项-设置",然后在拓展中找到"open-in-browser"插件。安装完成后,在HTML文件上右键点击,就可以看到"默认选择浏览器"选项,并且可以直接跳转到谷歌浏览器。但是在使用"npm start"命令打开网页时,无法设置默认浏览器,只能更改操作系统的默认浏览器设置。对于Windows系统,可以打开谷歌浏览器,点击右上角的"...",选择"设置",然后在设置中找到"默认浏览器"选项,跳转到系统选项中设置即可。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [vscode设置默认浏览器](https://blog.csdn.net/ermaoHa/article/details/128242211)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [解决:在 VSCode 中如何设置默认的浏览器为Chrome或Firefox](https://blog.csdn.net/weixin_43405300/article/details/124228615)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文