Is there any way to mark generated code as non-editable to IntelliJ/Android Studio?
y
yigit
04/15/2023, 4:04 AM
If you try to edit code in build folder, i think IJ already warns you. Can you explain a little bit more about your use case? (E.g. why do you want to do it?)
Thanks, yeah I will most likely add comments. I'm mostly just worried about newer developers following source and editing the file. In my intellij in the default ksp config the files themselves don't have a warning when trying to edit
Trevor Stone
04/16/2023, 2:06 PM
It seems like it's not being marked as a Generated Sources root. When I do that manually it warns as expected