Looks like the generated source files are not auto...
# kvision
m
Looks like the generated source files are not automatically generated by Intellij. Is that a bug in KVision or IntelliJ? Also "generated-src" is not set up to be source directory.
r
Hello, It's not a bug - it's just a missing feature 😉 KVision uses gradle compiler plugin, but there is no Intellij plugin for now. So you need to run gradle task to generate source files.
The
generated-src/common
and
generated-src/frontend
directories should be detected as source directories in IntelliJ after importing project. It works for me without problems in all my fullstack projects.
m
I got it generated by command line yes, but it does not work:
Generated src is set up in common module so I can't add it manually.
r
It looks like this for me:
Perhaps try to clean and reimport the whole project.
m
Yes, it looks like that. I'll try.
Japp, at least in a new project that works.