How does IDEA support this? If I leave root direct...
# getting-started
j
How does IDEA support this? If I leave root directory out, where do I specify "base package" for new classes? Without something like this am I supposed to fix package name for newly created class every time?
h
There's a "package prefix" option in IDEA (but not in Android Studio last I checked)
Under projector structure, if you click edit next to your source you can set the package prefix
Not sure if this can be set in gradle or not.
I don't think it's worth all the trouble and simple ignore the convention 😁
j
Can't find such setting..
"Assign a package prefix to Java sources"
h
Ya that's what I was referring too
j
I agree not worth it to follow this convention without easier tools support
c
If you manually add the package declaration to all files in the root package, IJ should pick up on it and start adding them for you