pocmo / recompose

recompose is a tool for converting Android layouts in XML to Kotlin code using Jetpack Compose.
Apache License 2.0
783 stars 49 forks source link

Issue #65 Add "Don't show this dialog next time" checkbox #100

Closed colintheshots closed 3 years ago

colintheshots commented 3 years ago

This adds a "Don't show this dialog next time" checkbox that applies for the current project. I can easily switch it if you prefer the setting to apply to the current workspace instead.

To clear the setting, you can remove it from .idea/workspace.xml in the current project.

colintheshots commented 3 years ago

I didn't see the other pull request until just now for this issue. Feel free to use whatever works best for the project. I used IDEA's built-in "Don't Ask Again" functionality whereas the other PR seems to create a custom control to do the same.

pocmo commented 3 years ago

Thank you! This code seems smaller and cleaner. I ended up merging the other PR since it also exposed this in the IDE's settings.