当前位置:网站首页>vscode下链接远程服务器安装插件失败、速度慢等解决方法
vscode下链接远程服务器安装插件失败、速度慢等解决方法
2022-07-28 22:24:00 【Emphatic】
目录
(3)在windows下打开vscode,并链接远端,进行安装
在windows端安装Vscode,可以实现远程连接服务器进行代码编辑和运行。安装remote-ssh插件链接远端服务器。详细方法可搜索其他教程。
1. 问题描述
但是会遇到本地安装插件很方便,远程服务器上插件安装不上或者速度很慢的问题,比如我想在远程服务器上安装Python插件,一直显示正在安装,安装不上。

2. 解决方案
下面,基于我的环境(windows下的vscode链接远程服务器centOS 7.6)给出解决方法。
采用VSIX离线安装。具体步骤如下:
(1)到vscode的扩展下载市场下载需要的插件
All categories Extensions - Visual Studio Marketplace

点进去Python,下拉找到download extension选项,下载该插件文件
(2)把下载好的插件文件上传到远程服务器上
比如在我的云服务器上,选定一个文件夹thirdpart,执行rz命令,选中python插件文件并打开

这样,就在服务器上的thirdpart目录下看到了该插件文件
(3)在windows下打开vscode,并链接远端,进行安装
进入vscode选择扩展,选择右上角三个点的选项,选择VSIX安装。然后找到thirdpart目录下对应的插件文件选择即可。


到这里,便可以看到插件已在远端服务器上安装成功。

3. 总结
- 在本地下载所需要的插件;
- 把插件文件上传到远程服务器;
- 在vscode中,链接远端服务器,选择VSIX安装插件;
- 重启vscode,即可正常使用插件。
边栏推荐
- Add build dependency error
- Application of Devops in Internet of things solutions
- Please briefly describe the respective characteristics of list, set and map type sets (briefly describe three different inheritance methods)
- Es6操作教程
- Those "experiences and traps" in the data center
- MySQL installation and configuration tutorial (super detailed, nanny level)
- curl (7) Failed connect to localhost8080; Connection refused
- Advanced area of attack and defense world web masters ics-06
- Eye of depth (18) -- partial derivative
- SQL implementation merges multiple rows of records into one row
猜你喜欢
![[MySQL series] MySQL database foundation](/img/50/cc75b2cdf6e52714c1d492fa1ae2c4.png)
[MySQL series] MySQL database foundation

Leetcode62. Different paths

Principle of meter skipping

[TA frost wolf \u may - "hundred people plan"] Figure 3.6 texture compression - inclusion slimming

研发效能的道法术器

"Method not allowed", 405 problem analysis and solution

ZABBIX 5.0 uses its own redis template for monitoring

Install MySQL using Yum for Linux

Field injection is not recommended solution
![[microservice] Nacos cluster building and loading file configuration](/img/50/7af220c57a06eb186729c9882d9dab.png)
[microservice] Nacos cluster building and loading file configuration
随机推荐
CMake 基础学习
熊市下PLATO如何通过Elephant Swap,获得溢价收益?
curl (7) Failed connect to localhost8080; Connection refused
Sword finger offer 55 - I. depth of binary tree
Those "experiences and traps" in the data center
[TA frost wolf \u may - "hundred people plan"] Figure 3.6 texture compression - inclusion slimming
mysql中exists的用法详解
Linux之yum安装MySQL
Applet waterfall flow, upload pictures, simple use of maps
【C】 Drink soda and find a single dog
Real time data warehouse: Didi's real-time data warehouse landing practice
Real time data warehouse: Netease strictly selects the practice of real-time data warehouse based on Flink
Network traffic monitoring tool iftop
Build SSM project with JSP as view parser
Servlet运行原理_API详解_请求响应构造进阶之路(Servlet_2)
动态规划问题(一)
PHP poster QR code synthesis
What does WGet mean
SQL实现将多行记录合并成一行
@Transactional 注解使用详解