This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-13
Channels
- # aleph (8)
- # announcements (3)
- # beginners (36)
- # calva (1)
- # cider (1)
- # circleci (3)
- # clj-kondo (9)
- # cljdoc (58)
- # clojars (7)
- # clojure (70)
- # clojure-europe (13)
- # clojure-japan (1)
- # clojure-nl (8)
- # clojure-russia (2)
- # clojure-uk (7)
- # clojuredesign-podcast (4)
- # clojurescript (67)
- # clojureverse-ops (14)
- # cursive (6)
- # data-science (1)
- # datahike (3)
- # datomic (6)
- # docker (1)
- # events (2)
- # figwheel-main (9)
- # fulcro (4)
- # graalvm (33)
- # graphql (8)
- # helix (1)
- # jobs (1)
- # leiningen (3)
- # lsp (39)
- # malli (9)
- # minecraft (31)
- # nextjournal (7)
- # off-topic (6)
- # portal (22)
- # re-frame (5)
- # reitit (5)
- # remote-jobs (1)
- # shadow-cljs (55)
- # sql (22)
- # tools-build (3)
- # tools-deps (4)
- # xtdb (6)
A few small bug fixes from the last release https://github.com/djblue/portal/releases/tag/0.16.1 🎉
Should a vscode extension user use the same version of the extension as of portal itself?
I don't plan on breaking backwards comparability, but if a new feature is added, you might need to bump both to use it 👌
I’m thinking if I can use the current version of the extension as default value for the dependency injection at jack-in. But maybe you do not release a new version of the extension automatically when portal updates?
I plan to always release them in parallel, even if it would have no change to the extension.
That way people can always fallback to using parallel versions to ensure compatibility if I accidentally break something
Speaking about that. You had use for getting access to Calva’s REPL connection, right? Are you planning to inject portal into the running REPL? I think we will need to do some changes in our client if so. Changes that I plan to do anyway, because loading stuff into the running app is generally useful and cool. But it can help with triaging if someone else has use for it.
Also, I think it would be a pretty awesome Ux if you would use the portal extension to hook itself into the REPL and the Calva user would just tap, tap, tap things.
My current PR is going from the other direction. Making sure portal is there when the repl starts, and make it easy to start portal and to add the tap.
Yeah, it would be very nice to have access to a users repl connection. The current implementation depends on having a shared filesystem, which means remote repls won't work as easily. Also, injecting the portal runtime would be super nice. And the portal extension could provide useful vs-code commands!
Are there any security concerns with exposing the repl connection to other vs-code extensions?
FYI, my Clover command to open a Portal view: https://github.com/seancorfield/vscode-clover-setup/blob/develop/config.cljs#L256
And those Portal extras from my dev.clj
in dot-clojure: https://github.com/seancorfield/dot-clojure/blob/develop/dev.clj#L47
(I could inline those into the "Portal start" command easily enough)
I've been a big fan of tap>
ever since it debuted! Initially, I use Cognitect's REBL with tap>
, then switched to Reveal, and now Portal.
My default "eval" in VS Code/Clover tap>
s the result in all cases.