IntelliJ, Akka and Configuration files

2019-04-05 09:48发布

问题:

When using akka, I place akka.conf in src/main/resources. When I run through sbt, the akka.conf is correctly recognized. But not when I run through IntelliJ (even after a gen-idea). What is the appropriate way to accomplish this?

回答1:

Put the .conf extension in Settings (Preferences on Mac) | Compiler | Resource Patterns.