edvin / tornadofx-idea-plugin

TornadoFX Plugin for IntelliJ IDEA
Apache License 2.0
73 stars 20 forks source link

Generating Properties for Primary Constructor #5

Closed thomasnield closed 8 years ago

thomasnield commented 8 years ago

I don't know if this is something you want to pursue, Edvin, since I'm not sure of the effort/value ratio.

I'm documenting the rest of the plugin chapter in the guide. I noticed to generate TornadoFX properties off plain properties, you have to put the properties in the class body.

image

There does not seem to be that option when the properties are in the primary constructor.

image

Is this an easy fix?

edvin commented 8 years ago

This should absolutely be possible to fix :) I'll get to it after we have landed the next release :)

edvin commented 8 years ago

Fixed and uploaded test version to slack. Let me know when you have tested. I'll release a new version of the plugin when you're happy with it :)

thomasnield commented 8 years ago

Beautiful, nice work! This is now resolved as well.

thomasnield commented 8 years ago

I will update the documentation tonight now that both of these fixes are in. This plugin has become very useful and time-saving.