Co-Pilot在Visual Studio 2022; return KeykeyCommandargs上没有工作?
我在Visual Studio 2022上的副驾驶安装有问题,我运行稳定的社区版本,并且当然是用扩展程序运行的。但是,我 试图禁用和卸载我的所有扩展名,但它仍然无法按照应有的方式工作。 Co-Pilot在Visual Studio Code上正常工作,这是IM遇到问题的唯一Visual Studio 2022。
确切的例外是我得到的如下:
[Error] An error occurred for 'ReturnKeyCommandArgs': StreamJsonRpc.RemoteInvocationException: Request getCompletions failed with message: The operation was aborted.
at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__143`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at GitHub.Copilot.CopilotCommandHandler.<>c__DisplayClass32_0.<<ExecuteCommandCore>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Shell.VsTaskLibraryHelper.<>c__DisplayClass35_0.<<FileAndForget>b__0>d.MoveNext()
( A lot of the same exception above here... )
为了解决此问题,我尝试了:
- 卸载/禁用我所有的扩展名
- 重新安装Visual Studio 2022
- 重新安装Copilot < /strong>
- 尝试了Copilot
- 清除的Visual Studio Cache
- 更改默认键binds
- 未经授权,然后再次授权Copilot
- <强>尝试了其他编码语言(C#,C/C ++,甚至Python,HTML和PHP(是的,我知道它要在VS代码中完成,用于测试...))
如果此前发行并最近修复了它,请分享您的解决方案。我见过多个人与我有相同的问题,但是没有目前的解决方案。
我会主持使用 Visual Studio 2022 ,而不是较旧的版本或任何其他第三方,作为我的主要IDE,我将其用于我所有的需求。
编辑:我绝对什么也没做,一周后,我试图在全球范围内再次激活Copilot,它神奇地奏效...什么...什么...
Im having an issue with my co-pilot installation on Visual Studio 2022, im running the stable community version, and im running it with extensions, of course. However, i HAVE tried disabling AND uninstalling all my extensions, and it will still not work the way it should.
Co-pilot works fine on Visual Studio Code, its only Visual Studio 2022 that im having issues with.
The exact exception im getting is as follows:
[Error] An error occurred for 'ReturnKeyCommandArgs': StreamJsonRpc.RemoteInvocationException: Request getCompletions failed with message: The operation was aborted.
at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__143`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at GitHub.Copilot.CopilotCommandHandler.<>c__DisplayClass32_0.<<ExecuteCommandCore>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Shell.VsTaskLibraryHelper.<>c__DisplayClass35_0.<<FileAndForget>b__0>d.MoveNext()
( A lot of the same exception above here... )
For my attempts to fix this, I have tried:
- Uninstalling/Disabling all my extensions
- Reinstalling Visual Studio 2022
- Reinstalling Copilot
- Tried experimental releases of copilot
- Cleared Visual Studio Cache
- Changed default keybinds
- Unauthorized and then authorized copilot again
- Tried other coding languages (C#, C/C++, even Python, HTML and PHP (Yes i know its meant to be done in VS Code, its for testing...))
Please if you have had this issue before, and have recently fixed it, please share your solution. I've seen multiple people having the same issue as me, however with no current solution.
I would preferebly stay with Visual Studio 2022 specifically, and not older versions or any other third party, as its my main IDE, and i use it for all my needs.
EDIT: I did absoloutely nothing, and after a week, i tried to activate copilot globally again, and it magically works... what...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论