简体   繁体   English

VSCode:如何在禁用所有其他扩展的情况下启用一个特定的扩展?

[英]VSCode: How do I enable one specific extension with all other extensions disabled?

An expected output of a certain extension stopped occurring, so I want to figure out if there is some interference.某个扩展的预期 output 停止发生,所以我想弄清楚是否有干扰。 I used " Reload With Extensions Disabled " to try running the extension in isolation, but apparently I am unable to enable any extensions whatsoever in this mode, which kinda makes sense, but is unintuitive.我使用“ Reload With Extensions Disabled ”来尝试单独运行扩展,但显然我无法在此模式下启用任何扩展,这有点道理,但不直观。

How can I achieve the desired effect - running extension(s) with all other extensions disabled?我怎样才能达到预期的效果 - 在禁用所有其他扩展的情况下运行扩展?

在此处输入图像描述

  • Note: To use Profiles you must currently have the setting Workbench > Experimental > Settings Profiles: Enabled checked (I believe in vscode v1.75 they will be enabled by default, or st least the experimental designation will be removed).注意:要使用Profiles ,您当前必须Workbench > Experimental > Settings Profiles: Enabled checked (我相信在 vscode v1.75 中它们将默认启用,或者至少experimental名称将被删除)。

Create a temporary profile: Gear icon/Profiles/Create.../Create a Temporary Profile.创建临时配置文件:齿轮图标/配置文件/创建.../创建临时配置文件。

That will reload with all extensions disabled, but you can then quickly install the one particular extension you want to test into that temporary profile.这将在禁用所有扩展的情况下重新加载,但您随后可以快速将要测试的一个特定扩展安装到该临时配置文件中。

Then when you are done you can go back to your Default profile the same way (with all your previous extensions enabled) and the temporary profile will be deleted.然后当你完成后,你可以 go 以相同的方式返回到你的Default配置文件(启用所有以前的扩展),临时配置文件将被删除。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM