Visual Studio扩展快捷下载

2021/12/26 下午4:55:50

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

نووسەر
3304457468
Daily installs
0
Total installs
244
Ratings
0 0 0
وەشان
1.0
Created
2021-12-26
Updated
2021-12-26
Size
2.52 KB
مۆڵەت
نییە
Applies to

使用方法

Visual Studio Marketplace 扩展商城中随便打开一个扩展页面,下面以扩展“Vetur”为例子,但无图片演示。

进去插件详情页后,需要等待网页加载完成。

加载完成后,大大的插件图标旁,本来只有绿绿的“Install”按钮和“Trouble Installing?”链接,中间会出现一个蓝蓝的“Download”按钮。

有可能在网页加载完成的一瞬间这个按钮会闪现一下,不用担心,因为页面JS的问题,会自动重置绿绿的“Install”按钮所在容器的内容,所以蓝蓝的“Download”按钮加入后会被删除。

但是我用了“setInterval”每0.8秒检查一次蓝蓝的“Download”按钮是否存在,然后重新加入,所以不用担心蓝蓝的“Download”按钮消失或者无效。

点击蓝蓝的“Download”按钮,左上角会出现一个白底的小方块,这是进度,当进度到100%也就是下载完成的时候才会正式跳出下载框。

不用担心二次下载耗费二次时间,因为存入缓存后,下载框下载文件的速度就是你硬盘的速度,通常只需要一瞬间。

我用了BLOB重命名下载,这样更方便管理,下载的文件也不会只是“Microsoft.VisualStudio.Services.VSIXPackage”这个名字,而是“插件类型-版本.vsix”这个名字

后续会加入镜像站的选项之类的,反正有问题Mail([email protected])我一下