Updated with final info bar text.

上级 efd8b644
......@@ -154,13 +154,13 @@ private void ShowInfoBarIfNecessary()
var infoBarService = _workspace.Services.GetRequiredService<IInfoBarService>();
infoBarService.ShowInfoBarInGlobalView(
ServicesVSResources.Analyzer_vsix_try_description,
ServicesVSResources.Try_the_preview_version_of_our_live_code_analysis_extension_which_provides_more_fixes_for_common_API_design_naming_performance_and_reliability_issues,
// Install link
new InfoBarUI(title: ServicesVSResources.Analyzer_vsix_hyperlink,
new InfoBarUI(title: ServicesVSResources.Learn_more,
kind: InfoBarUI.UIKind.HyperLink,
action: OpenInstallHyperlink),
// Don't show the InfoBar again link
new InfoBarUI(title: ServicesVSResources.Analyzer_vsix_do_not_show_again,
new InfoBarUI(title: ServicesVSResources.Never_show_this_again,
kind: InfoBarUI.UIKind.Button,
action: DoNotShowAgain));
}
......
......@@ -226,33 +226,6 @@ internal class ServicesVSResources {
}
}
/// <summary>
/// Looks up a localized string similar to Do not show again.
/// </summary>
internal static string Analyzer_vsix_do_not_show_again {
get {
return ResourceManager.GetString("Analyzer_vsix_do_not_show_again", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Install.
/// </summary>
internal static string Analyzer_vsix_hyperlink {
get {
return ResourceManager.GetString("Analyzer_vsix_hyperlink", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Try the new analyzer extension!.
/// </summary>
internal static string Analyzer_vsix_try_description {
get {
return ResourceManager.GetString("Analyzer_vsix_try_description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to AnalyzerChangedOnDisk.
/// </summary>
......@@ -1286,6 +1259,15 @@ internal class ServicesVSResources {
}
}
/// <summary>
/// Looks up a localized string similar to Never show this again.
/// </summary>
internal static string Never_show_this_again {
get {
return ResourceManager.GetString("Never_show_this_again", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to New _file name:.
/// </summary>
......@@ -2167,6 +2149,16 @@ internal class ServicesVSResources {
}
}
/// <summary>
/// Looks up a localized string similar to Try the preview version of our live code analysis extension, which provides more fixes for common API design, naming, performance, and reliability issues.
/// </summary>
internal static string Try_the_preview_version_of_our_live_code_analysis_extension_which_provides_more_fixes_for_common_API_design_naming_performance_and_reliability_issues {
get {
return ResourceManager.GetString("Try_the_preview_version_of_our_live_code_analysis_extension_which_provides_more_f" +
"ixes_for_common_API_design_naming_performance_and_reliability_issues", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Type.
/// </summary>
......
......@@ -912,13 +912,10 @@ Additional information: {1}</value>
<data name="Options" xml:space="preserve">
<value>Options</value>
</data>
<data name="Analyzer_vsix_hyperlink" xml:space="preserve">
<value>Install</value>
<data name="Try_the_preview_version_of_our_live_code_analysis_extension_which_provides_more_fixes_for_common_API_design_naming_performance_and_reliability_issues" xml:space="preserve">
<value>Try the preview version of our live code analysis extension, which provides more fixes for common API design, naming, performance, and reliability issues</value>
</data>
<data name="Analyzer_vsix_try_description" xml:space="preserve">
<value>Try the new analyzer extension!</value>
</data>
<data name="Analyzer_vsix_do_not_show_again" xml:space="preserve">
<value>Do not show again</value>
<data name="Never_show_this_again" xml:space="preserve">
<value>Never show this again</value>
</data>
</root>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册