FWDekker / intellij-randomness

IntelliJ plugin for inserting random numbers, UUIDs, names, IP addresses, and much more
https://plugins.jetbrains.com/plugin/9836-randomness
MIT License
45 stars 7 forks source link

Use Kotlin UI DSL #470

Closed FWDekker closed 1 year ago

FWDekker commented 1 year ago

Finally, after many years, and after several months of hard work: Fixes #360.

Every since 2019, I tried every year to use JB's Kotlin UI DSL, but every time the API was either too immature or too different from the current design of Randomness. This year I decided to write my own API, but found that it was somewhat similar to v2 of JB's UI DSL, and so I decided to migrate to their DSL. Still, this required an enormous overhaul of how the entire UI worked, and this gigantic PR thus also includes several bug fixes, UI improvements, documentation changes, and many other improvements. For a time, this was the dev branch of the dev branch. Once the rewriting was done, many tests also had to be rewritten. With the exception of one class, all tests are now done using Kotest.

codecov[bot] commented 1 year ago

Codecov Report

Merging #470 (fd6f000) into main (bbeac32) will increase coverage by 1.01%. The diff coverage is 90.66%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/FWDekker/intellij-randomness/pull/470/graphs/tree.svg?width=650&height=150&src=pr&token=HXVFGMwtwv&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Florine+W.+Dekker)](https://app.codecov.io/gh/FWDekker/intellij-randomness/pull/470?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Florine+W.+Dekker) ```diff @@ Coverage Diff @@ ## main #470 +/- ## ========================================== + Coverage 84.53% 85.54% +1.01% ========================================== Files 52 50 -2 Lines 1862 1910 +48 Branches 342 322 -20 ========================================== + Hits 1574 1634 +60 + Misses 247 216 -31 - Partials 41 60 +19 ```