andrasferenczi / dart-data-plugin

IDEA plugin for generating utility methods for Dart data classes
148 stars 31 forks source link

Generated `Named Argument Constructor` alway insert in the end of the class. #5

Closed huhuang03 closed 4 years ago

huhuang03 commented 4 years ago

Like the title describe, but I want the generated code insert at the cursor position. How can I do this?

andrasferenczi commented 4 years ago

I don't think it's currently supported. If I remember correctly, the generated code is always placed at the same location, to be able to override the old code with the new one.

andrasferenczi commented 4 years ago

Version 0.1.0 should fix this issue, which will be available in a couple days after Jetbrains' approval. Please reopen this ticket if you still have this issue after that.