提交 3bff8f9f 编写于 作者: A Andrew Casey

Rename regkey for InternalFeatureOnOfOptions.Snippets

...to work around machines that already have the old option set.
上级 3ef4e7a7
......@@ -50,8 +50,12 @@ internal static class InternalFeatureOnOffOptions
[ExportOption]
public static readonly Option<bool> EventHookup = new Option<bool>(OptionName, "Event Hookup", defaultValue: true);
/// <remarks>
/// Due to https://github.com/dotnet/roslyn/issues/5393, the name "Snippets" is unusable.
/// (Summary: Some builds incorrectly set it without providing a way to clear it so it exists in many registries.)
/// </remarks>
[ExportOption]
public static readonly Option<bool> Snippets = new Option<bool>(OptionName, "Snippets", defaultValue: true);
public static readonly Option<bool> Snippets = new Option<bool>(OptionName, "Snippets2", defaultValue: true);
[ExportOption]
public static readonly Option<bool> TodoComments = new Option<bool>(OptionName, "Todo Comments", defaultValue: true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册