-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace .form UI files with Kotlin UI DSL v2 #554
Conversation
b4b8e9d
to
f3076c4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I run the plugin locally, I get this warning related to this change:
> Task :plugin-core:compileKotlin
w: Lombok Kotlin compiler plugin is an experimental feature. See: https://kotlinlang.org/docs/components-stability.html.
w: file:///home/ahtrotta/projects/appmap/appmap-intellij-plugin/plugin-core/src/main/kotlin/appland/remote/StartRemoteRecordingForm.kt:22:22 'horizontalAlign(HorizontalAlign): Cell<T>' is deprecated. Use align(AlignX.LEFT/CENTER/RIGHT/FILL) method instead
w: file:///home/ahtrotta/projects/appmap/appmap-intellij-plugin/plugin-core/src/main/kotlin/appland/remote/StopRemoteRecordingForm.kt:18:60 'horizontalAlign(HorizontalAlign): Cell<T>' is deprecated. Use align(AlignX.LEFT/CENTER/RIGHT/FILL) method instead
w: file:///home/ahtrotta/projects/appmap/appmap-intellij-plugin/plugin-core/src/main/kotlin/appland/remote/StopRemoteRecordingForm.kt:25:43 'horizontalAlign(HorizontalAlign): Cell<T>' is deprecated. Use align(AlignX.LEFT/CENTER/RIGHT/FILL) method instead
Could you address this? Thanks!
@ahtrotta Is it possible that you were compiling for a later SDK? |
422e3a9
to
4972c3d
Compare
Yeah I was using 2023.3.2 |
4972c3d
to
2f55663
Compare
AppMap runtime code review
⭐ New AppMaps[junit] Findings manager modification dates from ✖️ Removed AppMaps |
64daaba
to
fe2489f
Compare
@jansorg what is the status of this PR? |
There's a flaky test, but only on CI. I'll fix it soon. |
Thanks for the update! I was just wondering because the issue is in the |
Oh, sorry! I thought it was ready, but missed the test. |
fe2489f
to
488a5f6
Compare
intellij-gradle changed the classpath, the IDE's dependencies now override a plugin's transitive dependencies.
67a1f0c
to
7b3ae77
Compare
7b3ae77
to
e7bdb64
Compare
@ahtrotta I've fixed the test, this PR is ready for review now. |
Okay, great I'll take a look! |
🎉 This PR is included in version 0.56.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Closes #548
Replaces the .form files with UI DSL v2. Support for .form files is deprecated and mostly unmaintained by JetBrains now.
Previously, code instrumentation via the IntelliJ Gradle plugin was used to create .class files from the JetBrains .form files. Instrumentation is not needed anymore and is disabled by this PR.
UI DSL v2 needs Kotlin. This PR enables Kotlin to allow writing the UI DSL code, but everything else is going to remain Java source code.
Unfortunately, the UI DSL isn't backwards compatible in a few places. We're dropping support for 2021.3 to fix this.
Settings:

Start AppMap recording:

Stop AppMap recording:
