This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-10
Channels
- # announcements (1)
- # babashka (178)
- # beginners (216)
- # bootstrapped-cljs (1)
- # brompton (5)
- # calva (3)
- # chlorine-clover (1)
- # clj-kondo (2)
- # cljdoc (37)
- # cljfx (4)
- # cljs-dev (2)
- # clojure (360)
- # clojure-chile (8)
- # clojure-europe (3)
- # clojure-italy (5)
- # clojure-nl (9)
- # clojure-spec (2)
- # clojure-sweden (1)
- # clojure-uk (61)
- # clojuredesign-podcast (1)
- # clojurescript (83)
- # clr (2)
- # conjure (4)
- # core-async (14)
- # cursive (20)
- # data-science (2)
- # datomic (15)
- # docker (11)
- # emotion-cljs (1)
- # figwheel-main (28)
- # find-my-lib (1)
- # fulcro (46)
- # helix (16)
- # honeysql (14)
- # jobs (10)
- # jobs-discuss (17)
- # joker (1)
- # juxt (9)
- # kaocha (8)
- # leiningen (3)
- # meander (3)
- # news-and-articles (1)
- # off-topic (110)
- # pathom (7)
- # pedestal (4)
- # protojure (2)
- # re-frame (12)
- # reagent (25)
- # ring (4)
- # shadow-cljs (109)
- # spacemacs (9)
- # specter (1)
- # sql (3)
- # tools-deps (23)
Cursive doesn't recognize my functions once I rename them like this:
[myns.account.sign-in :refer [handler] :rename {handler sign-in-handler}]
Is this a known issue?Yes, that’s https://github.com/cursive-ide/cursive/issues/394. I’ll see if I can look at that shortly.
One thing I miss in Cursive is an intention for fully qualified names to create an :require
entry (and let me customize the alias).
Oh, hey, I've noticed this before: https://github.com/cursive-ide/cursive/issues/1965
Hey. I seem to remember that you can somehow configure a repl via cursive such that some commands/forms are automatically evaluated on startup.
The reason I ask I that I have to run (shadow.cljs.devtools.api/nrepl-select :app)
when connecting to a remote clojure nREPL to get a cljs repl and I’d like to do this automatically.
The best I’ve been able to manage so far is to
shadow-cljs
{:nrepl {:port 7002
:init-ns cljs-user}
… and then have a (defn start [] …)
function which I can run.Yes, there’s no way to automatically send forms at startup with Cursive, although I’m planning to add that soon. You can use user.clj
for some use cases, which is a Clojure thing. I’m not sure if that would work for what you need though.
hi everyone, not related to cursive itself but since we are all using intelliJ idea in this channel, it is possible to customize the font size for the named functions? like the picture
Wow. While I don't know if that's possible, I wonder what benefit you think that would bring?
not sure, just saw this in twitter, but it looks that it highlights in which namespace you are and what functions it has at a glance.
you could use intellij's File structure
action for that (under navigate if you want to go through the menu)
I echo the “why?” sentiment, but AFAIK there’s no way to do this. I think IntelliJ requires lines of text to all use a single font size.