【vue stylus】使用sublime,使stylus语法高亮,解决“There are no packages available for installation”问题

在sublime中用“ctrl+shift+p”安装插件,今天出现了如图下的错误

【vue stylus】使用sublime,使stylus语法高亮,解决“There are no packages available for installation”问题

解决办法如下:

【vue stylus】使用sublime,使stylus语法高亮,解决“There are no packages available for installation”问题

【vue stylus】使用sublime,使stylus语法高亮,解决“There are no packages available for installation”问题

【vue stylus】使用sublime,使stylus语法高亮,解决“There are no packages available for installation”问题

在浏览器输入蓝色框框的网址,复制或下载源代码,将文件命名为【vue stylus】使用sublime,使stylus语法高亮,解决“There are no packages available for installation”问题

并将文件保存在本地,我保存在了D盘,

【vue stylus】使用sublime,使stylus语法高亮,解决“There are no packages available for installation”问题

打开Settings--User文件

"channels":
    [
        "D:/channel_v3.json"
    ],

粘贴进去,如下图

【vue stylus】使用sublime,使stylus语法高亮,解决“There are no packages available for installation”问题

就可以安装自己想要的插件了。

安装stylus高亮插件,

ctrl+shift+p--------install package-------stylus

就可以实现stylus语法高亮啦~~~