unit-mesh / auto-dev

🧙‍AutoDev: The AI-powered coding wizard(AI 驱动编程助手)with multilingual support 🌐, auto code generation 🏗️, and a helpful bug-slaying assistant 🐞! Customizable prompts 🎨 and a magic Auto Dev/Testing/Document/Agent feature 🧪 included! 🚀
https://ide.unitmesh.cc/
Mozilla Public License 2.0
2.78k stars 317 forks source link

idea intention 菜单提供重命名函数,变量功能 #132

Closed zjh7890 closed 6 months ago

zjh7890 commented 6 months ago

有时候懒得想函数名...

phodal commented 6 months ago

哈哈,是要在 Shift + F6 里加功能

zjh7890 commented 6 months ago

老哥有交流群吗,我也想加入 hhh

phodal commented 6 months ago

没有了,懒得建,之前有一个辅助研发的,加一下 phodal02,注明来意

phodal commented 6 months ago

想起来了,你这有点费 token

zjh7890 commented 6 months ago

想起来了,你这有点费 token

哈哈,充值就完事😂

phodal commented 6 months ago

第一个版本先这样:

图片

等 build 完应该就可以体验了:https://github.com/unit-mesh/auto-dev/actions/runs/8524783767

你先测试测试,我来加个 toggle

phodal commented 6 months ago

详细 prompt 见:

https://github.com/unit-mesh/auto-dev/blob/44008dc0a538d441f1a4e55cbac6d483b27d029c/src/main/kotlin/cc/unitmesh/devti/practise/RenameLookupManagerListener.kt#L37-L46

zjh7890 commented 6 months ago

你这迭代效率也太给力了...

phodal commented 6 months ago

不过,有 bug ,等我关了 isue,再测试吧

zjh7890 commented 6 months ago

不过,有 bug ,等我关了 isue,再测试吧

ok

phodal commented 6 months ago

可以体验了,https://plugins.jetbrains.com/plugin/21520-autodev/versions/snapshot

需要从配置中打开功能,

图片
zjh7890 commented 6 months ago

可以体验了,https://plugins.jetbrains.com/plugin/21520-autodev/versions/snapshot

需要从配置中打开功能,

图片

ok