This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-07
Channels
- # adventofcode (114)
- # announcements (3)
- # aws (5)
- # babashka (62)
- # beginners (111)
- # calva (4)
- # cider (20)
- # clara (5)
- # clj-kondo (1)
- # cljs-dev (9)
- # clojure (255)
- # clojure-europe (75)
- # clojure-italy (10)
- # clojure-nl (3)
- # clojure-norway (5)
- # clojure-uk (6)
- # clojuredesign-podcast (5)
- # clojurescript (34)
- # community-development (28)
- # conjure (1)
- # cursive (3)
- # data-science (1)
- # datavis (1)
- # datomic (4)
- # figwheel-main (1)
- # fulcro (14)
- # graalvm (1)
- # graphql (8)
- # integrant (4)
- # introduce-yourself (2)
- # jobs (2)
- # juxt (4)
- # kaocha (2)
- # malli (6)
- # membrane-term (53)
- # mount (2)
- # nextjournal (2)
- # off-topic (27)
- # pathom (11)
- # polylith (3)
- # portal (11)
- # reagent (4)
- # reitit (4)
- # remote-jobs (1)
- # reveal (14)
- # shadow-cljs (22)
- # tools-deps (24)
- # vim (6)
- # xtdb (19)
Hi! How does the intellij plugin work? I guess I still need to add portal to my project's dependencies and execute st. like (portal.api/open {:launcher :intellij})
(just guessing here)? It does not seem to be enough, the Portal plugin still shows "nothing to show" even though tap>
returned true
Ah, I see, I also need (add-tap (requiring-resolve 'portal.api/submit))
Ok, I have solved it => https://github.com/djblue/portal/pull/89/files
@U0522TWDA one suggestion change for the snippet:
(do
(require 'portal.api)
(def user/portal (portal.api/open {:launcher :intellij}))
(add-tap #'portal.api/submit))
using def
allows you to deref @user/portal
to use the selected value in Portal on the REPL
Ah, nice, thank you!
I've noticed that when I use the vs-code view for portal, I can't dereference objects, but when I use the standard launcher I can. Has anybody else experienced something similar?
With the exception of keys, most of the time I get nil
when I select something and call @dev/portal
@mschmele what type of values do you have selected in the UI? I can deref the portal atom and get selected values from vs-code.
@mschmele I just tested it on my VS Code/Clover/Portal setup and it works fine.