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.72k stars 314 forks source link

你好,构建的时候有2个文件不存在 #112

Closed Klein73 closed 5 months ago

Klein73 commented 5 months ago

image

你好,这个文件里的这两个飘红的文件,在代码库里确实是没有的,不过run用例能正常run起来,请问这个问题需要关注吗?

phodal commented 5 months ago

IDEA 中的 Gradle 同步问题,大概率是因为你电脑卡住导致的,可以再 sync 一下。

生成 lexer 和 parser 的时候,会生成一个 gen 目录,

图片

详细原理见:

https://github.com/unit-mesh/auto-dev/blob/2796660dcd8dae37db3e9cdf974f3fa5df6ef21f/build.gradle.kts#L601-L620