intellism / vscode-comment-translate

vscode 注释翻译插件, 不干扰正常代码,方便快速阅读源码。
https://marketplace.visualstudio.com/items?itemName=intellsmi.comment-translate
MIT License
481 stars 75 forks source link

提示 command 'commentTranslate.replaceSelections' not found #177

Closed fengzhifeng closed 1 year ago

fengzhifeng commented 1 year ago

遇到的问题: 翻译时提示 command 'commentTranslate.replaceSelections' not found 复现流程如图 2023-07-19 21 45 24 复现版本: v2.3.1

intellism commented 1 year ago

我这里是可以的,不能复现,麻烦提供下输出的日志 image

fengzhifeng commented 1 year ago
image

输出的选项里没有看得到插件的选项,在底部的状态栏中也没有展示插件的选项。 看插件的状态是已经安装完成了。

intellism commented 1 year ago

应该是插件没有启动成功。 你重新启动vscode看看

fengzhifeng commented 1 year ago

是因为要访问 /用户/.config/configstore/google-translate-api.json ,但是 configstore 文件夹没有权限导致的。 设置权限后可以正常访问了。