-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Move Copilot context provider to EA.Copilot and handler to LanguageServer #77973
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
Conversation
c76dbb9 to
f37ff26
Compare
src/Features/ExternalAccess/Copilot/Internal/Completion/CSharpContextProviderService.cs
Outdated
Show resolved
Hide resolved
| Microsoft.CodeAnalysis.ExternalAccess.Copilot.Completion.TraitItem.TraitItem(Microsoft.CodeAnalysis.ExternalAccess.Copilot.Completion.TraitItem! original) -> void | ||
| Microsoft.CodeAnalysis.ExternalAccess.Copilot.Completion.TraitItem.TraitItem(string! name, string! value, int importance = 0) -> void | ||
| Microsoft.CodeAnalysis.ExternalAccess.Copilot.Completion.TraitItem.Value.get -> string! | ||
| Microsoft.CodeAnalysis.ExternalAccess.Copilot.Completion.TraitItem.Value.init -> void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we remove the EA for the handler itself? though that may break the recent prerelease...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm inclined to keep it here a bit longer, at least until we have a release with the new APIs
...ageServer/LanguageServer/Handler/CopilotCompletion/CopilotCompletionResolveContextHandler.cs
Outdated
Show resolved
Hide resolved
e8529a1 to
4cf9923
Compare
4cf9923 to
2fa53c0
Compare
|
Just got to see the backport. I have a lot of thoughts ont he code here :) |
…nguageServer (#79760) * Move Copilot context provider to EA.Copilot and handler to LanguageServer (#77973) * remove semantic search from expected errors * Revert "remove semantic search from expected errors" This reverts commit 3f613ee. * use a producer/consumer pattern * Revert "use a producer/consumer pattern" This reverts commit 86802b4. * Cleanup the code we have to run copilot code in parallel * Simplify further * Move into helper * Simplify * Update src/Features/ExternalAccess/Copilot/Completion/ICSharpCopilotContextProviderService.cs * fix * Add copilot tests IVT to ExternalAccess.Copilot (#78455) --------- Co-authored-by: Gen Lu <genlu@users.noreply.github.com> Co-authored-by: Cyrus Najmabadi <cyrus.najmabadi@gmail.com>
Required changes
C# ext: dotnet/vscode-csharp#8126
vs.converstaions: https://devdiv.visualstudio.com/DevDiv/_git/VisualStudio.Conversations/pullrequest/625059