nicepkg / aide

Conquer Any Code in VSCode: One-Click Comments, Conversions, UI-to-Code, and AI Batch Processing of Files! 在 VSCode 中征服任何代码:一键注释、转换、UI 图生成代码、AI 批量处理文件!💪
https://aide.nicepkg.cn
MIT License
2.06k stars 127 forks source link

如何设置插件默认的 .vscode 目录路径 #36

Closed Bluuur closed 1 month ago

Bluuur commented 1 month ago

在远程开发,使用代码语言转换时遇到以下错误: Failed to update configuration: Unable to write file 'vscode-remote://ssh-remote+xxxxxx/.vscode/settings.json' (NoPermissions (FileSystemError): Error: EACCES: permission denied, mkdir '/.vscode')

在使用 VS Code 时,一般打开服务器的根目录进行开发,因为涉及多个项目文件的编写。但没有根目录的写入权限,如何将插件的 .vscode 路径指向 ~/.vscode

2214962083 commented 1 month ago

语言转换功能会默认在当前项目记住你的偏好,并且由vscode存在.vscode/settings.json,这个存储位置是vscode决定的,当然后续我会出一个开关来关闭这个记忆功能

2214962083 commented 1 month ago

最新版增加了一个控制,允许关闭自动记忆功能:https://github.com/nicepkg/aide/blob/master/docs/configuration/README_CN.md#%E9%85%8D%E7%BD%AE---aideaideautorememberconvertlanguagepairs