Tóth István Zoltán
02/24/2025, 7:30 AMmain
.
A very basic, but multi-platform and Adaptive-based implementation of how IntelliJ workspace works.
(I really hope this won't turn into a copyright problem, it would be a pain to figure out a useful but different enough algorithm. Let me know of you are from JB and reading this).
https://github.com/spxbhuhb/adaptive/tree/82ed6e6b4e1bbcd6f4a2007bb734789e8adeb960/adaptive-lib-ui/src/commonMain/kotlin/fun/adaptive/ui/workspace
https://github.com/spxbhuhb/adaptive/blob/82ed6e6b4e1bbcd6f4a2007bb734789e8adeb960/adaptive-ui/src/commonMain/kotlin/fun/adaptive/ui/api/fragment.kt#L118
Demo (just start sandbox):
https://github.com/spxbhuhb/adaptive/blob/82ed6e6b4e1bbcd6f4a2007bb734789e8adeb960/sandbox/src/jsMain/kotlin/main.kt