compose-multiplatform icon indicating copy to clipboard operation
compose-multiplatform copied to clipboard

IDEA Preview Plugin: Support Compose Web

Open hfhbd opened this issue 4 years ago • 7 comments

The preview IDEA plugin is still in alpha, but supporting Compose Web would be nice too.

  1. Provide a @Preview annotation in web
  2. Add this FQ annotation class in the IDEA plugin

hfhbd avatar Jun 03 '21 16:06 hfhbd

Do you have this plugin working in IDEA for non-Web compose? I can't make it working. Is there any instruction or something?

avently avatar Jun 06 '21 17:06 avently

@avently it works since 0.5.0-build235. See https://github.com/JetBrains/compose-jb/issues/865

akurasov avatar Jul 14 '21 10:07 akurasov

@akurasov already used it. Cool but it's on early stages, so will wait more time

avently avatar Jul 14 '21 10:07 avently

@avently what is missing there from your perspective?

akurasov avatar Jul 14 '21 10:07 akurasov

@akurasov i tried the plugin a week ago or two and it hadn't feature to update the view. I mean when i clicked gutter icon to run the preview it worked only for the first time but after that the preview still shows an image from the first launch regardless of how many times i rerun it. Also it couldn't show complex scene instead of one Text(...). So it wasn't ready and i decided to wait.

avently avatar Jul 14 '21 15:07 avently

Do you have any idea when this will be available for compose web?

waveduke avatar Jan 19 '23 08:01 waveduke

Would be very useful on web as well.

Burtan avatar Mar 21 '23 09:03 Burtan