vs 代码 - 回滚扩展/安装特定的扩展版本 [英] vs code - rollback extension/install specific extension version

查看:33
本文介绍了vs 代码 - 回滚扩展/安装特定的扩展版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚刚获得 Golang 扩展的更新,它

所以我想快速跳回之前的版本,在VS code中怎么做呢?似乎根本无法在文档中找到它.

解决方案

来自 v1.30 发行说明:

Just got an update for the Golang extension and it appears to be broken, reporting an error on a package main that's literally just a list of my imports with no useful information. It's refusing to lint or do anything useful which is annoying.

So I want to quickly jump back to the previous version, how can I do this in VS code? Can't seem to find it in the docs at all.

解决方案

From v1.30 release notes: install previous versions of extensions.

You can now go back to a previous version of an extension if there are issues with the current version. VS Code provides an Install Another Version action on an installed extension which shows a dropdown of available versions.

The option to install another version is in the context menu. Or the gear icon for each extension.

For me when I do this - without "Disable Auto Updating Extensions" (I assume that the Debugger for Chrome is such an extension) it does not auto-update on reload or close/open but shows a button for that extension to install the latest version instead.

So it appears you don't have to disable all auto-updating extensions just to revert one extension to an older version and keep it at that older version. [leave a comment if you find that isn't true, thanks]

这篇关于vs 代码 - 回滚扩展/安装特定的扩展版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆