Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge release/dev17.11 to main #74211

Merged
merged 1 commit into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public OnTheFlyDocsView(ITextView textView, IViewElementFactoryService viewEleme
new object[]
{
sparkle,
ClassifiedTextElement.CreateHyperlink(EditorFeaturesResources.Tell_me_more, EditorFeaturesResources.Show_an_AI_generated_summary_of_this_code, () =>
ClassifiedTextElement.CreateHyperlink(EditorFeaturesResources.Describe_with_Copilot, EditorFeaturesResources.Generate_summary_with_Copilot, () =>
RequestResults()),
}));

Expand All @@ -86,7 +86,7 @@ public OnTheFlyDocsView(ITextView textView, IViewElementFactoryService viewEleme
new object[]
{
new ClassifiedTextElement(new ClassifiedTextRun(
ClassificationTypeDefinitions.ReducedEmphasisText, EditorFeaturesResources.GitHub_Copilot_thinking)),
ClassificationTypeDefinitions.ReducedEmphasisText, EditorFeaturesResources.Copilot_thinking)),
new SmoothProgressBar { IsIndeterminate = true, Height = 2, Margin = new Thickness { Top = 2 } },
}));

Expand All @@ -107,13 +107,10 @@ public OnTheFlyDocsView(ITextView textView, IViewElementFactoryService viewEleme
new object[]
{
sparkle,
ClassifiedTextElement.CreatePlainText(EditorFeaturesResources.GitHub_Copilot),
ClassifiedTextElement.CreatePlainText(EditorFeaturesResources.Copilot),
}),
new ThematicBreakElement(),
_responseControl,
new ThematicBreakElement(),
new ClassifiedTextElement(new ClassifiedTextRun(
ClassificationTypeDefinitions.ReducedEmphasisText, EditorFeaturesResources.AI_generated_content_may_be_inaccurate)),
}));

ResultsRequested += (_, _) => PopulateAIDocumentationElements(_cancellationTokenSource.Token);
Expand Down
19 changes: 8 additions & 11 deletions src/EditorFeatures/Core/EditorFeaturesResources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -932,20 +932,17 @@ Do you want to proceed?</value>
<data name="Obsolete_symbol" xml:space="preserve">
<value>Obsolete symbol</value>
</data>
<data name="AI_generated_content_may_be_inaccurate" xml:space="preserve">
<value>AI-generated content may be inaccurate</value>
<data name="Copilot" xml:space="preserve">
<value>Copilot</value>
</data>
<data name="GitHub_Copilot" xml:space="preserve">
<value>GitHub Copilot</value>
<data name="Copilot_thinking" xml:space="preserve">
<value>Copilot thinking...</value>
</data>
<data name="GitHub_Copilot_thinking" xml:space="preserve">
<value>GitHub Copilot thinking...</value>
<data name="Generate_summary_with_Copilot" xml:space="preserve">
<value>Generate summary with Copilot (might be inaccurate)</value>
</data>
<data name="Show_an_AI_generated_summary_of_this_code" xml:space="preserve">
<value>Show an AI generated summary of this code</value>
</data>
<data name="Tell_me_more" xml:space="preserve">
<value>Tell me more</value>
<data name="Describe_with_Copilot" xml:space="preserve">
<value>Describe with Copilot</value>
</data>
<data name="On_the_fly_documentation" xml:space="preserve">
<value>On-the-fly documentation</value>
Expand Down
45 changes: 20 additions & 25 deletions src/EditorFeatures/Core/xlf/EditorFeaturesResources.cs.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 20 additions & 25 deletions src/EditorFeatures/Core/xlf/EditorFeaturesResources.de.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 20 additions & 25 deletions src/EditorFeatures/Core/xlf/EditorFeaturesResources.es.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading