简体   繁体   English

无法打开“Agda”:AbstractContextKeyService 已被处理

[英]Unable to open 'Agda': AbstractContextKeyService has been disposed

I'm trying to use agda-mode on visual studio code on windows 10. I'm getting this error on VSC when pressing ctrl-c ctrl-l (or any other) keybinding associated with agda-mode.我正在尝试在 windows 10 上的 visual studio 代码上使用 agda-mode。按ctrl-c ctrl-l (或任何其他)与 agda-mode 关联的键绑定时,我在 VSC 上收到此错误。 I had this issue a couple of days ago, but restarting my computer solved it.几天前我遇到了这个问题,但重新启动我的电脑解决了它。 Now that doesn't seem to work.现在这似乎行不通了。

I am having the same issue on an M1 mac.我在 M1 mac 上遇到了同样的问题。 Things like ctrl-c ctrl-l just stop working.ctrl-c ctrl-l这样的东西就停止工作了。 Deleting .vscode , reinstalling the app, and reinstalling the agda-mode extension eventually worked, but it happened again.删除.vscode ,重新安装应用程序,并重新安装 agda-mode 扩展,最终成功了,但它又发生了。

What worked for me, in the end, was closing the window at the bottom最后,对我有用的是关闭底部的 window 在此处输入图像描述 then closing the file and reopening it (in the same VSC instance).然后关闭文件并重新打开它(在同一个 VSC 实例中)。 Another time setting this另一次设置这个在此处输入图像描述 to false fixed the issue. to false 解决了这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM