It is very inconvenient to use Mill in idea. #5368
Replies: 3 comments
-
Hi @Bleibtreu ! Did you follow the IDE setup instructions over at https://mill-build.org/mill/cli/installation-ide.html? I would have expected Intellij to automatically recognize a project with a |
Beta Was this translation helpful? Give feedback.
-
Yes, I've tried it, This is OK,However, the directory and the starting structure need to be manually constructed. |
Beta Was this translation helpful? Give feedback.
-
This feature request should be reported against IntelliJ IDEA. We can't implement any IDE feature here. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am a beginner learning Scala. I used SBT before, and this time I want to try Mill.
I found that creating the first project with Mill in IDEA is quite difficult. IDEA cannot quickly recognize Mill projects, and for a single-module project at the beginning, it cannot identify the path to the Scala main function. Maybe I don’t understand Mill well, but I think this is a big obstacle for beginners learning and using Mill.
For example, after creating a project with SBT, you just need to write the build.sbt file, and the changes can be applied immediately. IDEA automatically recognizes it, and you can start coding directly. But with Mill, you still need to manually handle the version, module directories, IDEA JDK configuration, etc. When creating submodules, IDEA only provides options for sbt, maven, and cli. After choosing one, it creates a lot of useless files and still cannot correctly recognize the files within the module.
I want to ask, when you use Mill in IDEA to quickly start a project, do you also manually handle the directories? Can I experience the same convenience in Mill as I do with SBT in IDEA?
Beta Was this translation helpful? Give feedback.
All reactions