Hi,
M+ keeps the contents of the User Code Area (UCA) if the UCA exists.
Note: The "User Code Area" is an area enclosed by "˅" and "˄".
To explain in detail, M+ generates/regenerates code according to the following rules:
- For new output UCAs, M+ outputs import statements to the UCA, based on the relation and dependency info.
- For existing UCAs, M+ keeps the contents of the UCA without editing.
However, we understand that it is useful to automatically update the import statements when regenerating code.
We have added your request for improvement.
Thank you for the feedback.