Skip to content
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

[Enhancement 建议:] 希望Code Viewer Helper和所有其他命令可以包含和Copy As AI Prompt一样的操作 #101

Open
PythonYunfei opened this issue Sep 18, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@PythonYunfei
Copy link

PythonYunfei commented Sep 18, 2024

希望Code Viewer Helper和所有其他自定义命令可以包含和Copy As AI Prompt一样的操作。
编程语言文件中难免会以某种方式"import"其他库。如果想要AI进行更完整的分析并注释,则必须让AI看到该文件所依赖的库的内容。

故希望注释某文件前,可以先调用类似Copy As AI Prompt的命令,把选中的其他库文件的内容储存下来。注释时,会把储存下来的内容作为历史会话或Prompt,执行注释。

@2214962083 2214962083 added the enhancement New feature or request label Sep 19, 2024
@2214962083
Copy link
Contributor

https://aide.nicepkg.cn/zh/guide/configuration/expert-code-enhancer-prompt-list

试试这个功能,有个autoContext,配置为true就行

@PythonYunfei PythonYunfei changed the title [Enhancement 建议:] 希望Code Viewer Helper可以包含和Copy As AI Prompt一样的操作 [Enhancement 建议:] 希望Code Viewer Helper和所有其他命令可以包含和Copy As AI Prompt一样的操作 Sep 20, 2024
@PythonYunfei
Copy link
Author

https://aide.nicepkg.cn/zh/guide/configuration/expert-code-enhancer-prompt-list

试试这个功能,有个autoContext,配置为true就行

谢谢,这个功能也不错。

但仍然希望增加这个Enhancement。这样所有命令的操作会变得更加一致。
autoContext设置为true时,autoContext自动读取的文件将会和用户手动选择的文件合并在一起。

@PythonYunfei
Copy link
Author

PythonYunfei commented Sep 20, 2024

https://aide.nicepkg.cn/zh/guide/configuration/expert-code-enhancer-prompt-list

试试这个功能,有个autoContext,配置为true就行

刚刚看了一下。好像如果想要用它来配置Code Viewer Helper命令的话有些麻烦,要重新写提示词。

如果能为每个已存在的命令,包括Code Viewer Helper,也都增加一个autoContext属性、或设置,就更好了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants