Fork me on GitHub
#reveal
<
2021-11-20
>
kenny01:11:07

Has a reveal in IntelliJ integration ever been discussed?

vlaaad06:11:47

Reveal lives in JVM, therefore it works with any IDE without specialized integration.. what do you have in mind for intellij integration?

kenny15:11:52

Launched in a window that IntelliJ manages. Like portal’s integration.

vlaaad16:11:10

Ah no, that's not possible unfortunately

kenny17:11:21

Ah ok. How come?

vlaaad17:11:02

Because this is The trade-off of Reveal — it's a window that lives in JVM where development happens, therefore it benefits from direct access to objects

vlaaad17:11:59

With the downside that it's not a part of IDE, so you have to manage multiple windows

vlaaad17:11:00

Another upside is that since it's a separate window, it's already available for developers no matter the IDE they use

vlaaad17:11:39

So I can "do twice as much instead of doing everything twice"

kenny17:11:45

And the integration would require launching reveal in the IntelliJ JVM which is not where development happens?

vlaaad17:11:26

Yes, different classpaths, different dependencies, different lifetimes — you wouldn't want accidental exception causing your JVM to quit to also delete all unsaved changes

kenny18:11:19

I see. Cursive runs in the same jvm as IntelliJ, right?

Drew Verlee16:11:45

Do all reveal features work in cljs? I'm guessing not the pro feature: "File system navigation" at least

vlaaad16:11:32

Most reveal features work on objects in JVM. It has prepl support that allows it to talk to cljs processes and then work on JVM data structures received over network