Open codemaker1999 opened 8 years ago
The Gradle plugin inserts code in a certain order (first fields, then constructors, then methods). It should add generated code after existing types of code (new fields after existing fields, ...).
But yes, there are issues. If you have a small example project to show what you would expect, we might be able to fix things.
Your suggestion remains valid still. -ut
Sometimes after building my project, some of the code in my entity class gets mixed in with the generated code, and I have to scroll through and copy paste things around (is there a reason for this behaviour?). Unless this is a bug, some people might find it handy to be able to tell greendao where to put generated code, maybe with an optional comment section like so:
And for reference I'm using: