This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-25
Channels
- # anglican (2)
- # babashka (53)
- # beginners (99)
- # brompton (1)
- # calva (28)
- # circleci (43)
- # clj-commons (4)
- # clj-kondo (176)
- # cljsrn (22)
- # clojars (7)
- # clojure (175)
- # clojure-australia (2)
- # clojure-europe (20)
- # clojure-germany (1)
- # clojure-uk (5)
- # clojurescript (195)
- # cursive (18)
- # datomic (13)
- # emacs (2)
- # farolero (9)
- # find-my-lib (6)
- # fulcro (8)
- # graalvm (12)
- # gratitude (5)
- # helix (11)
- # improve-getting-started (36)
- # introduce-yourself (3)
- # jackdaw (21)
- # jobs (2)
- # joker (2)
- # malli (65)
- # meander (24)
- # nbb (2)
- # off-topic (4)
- # pathom (2)
- # polylith (17)
- # portal (5)
- # react (3)
- # reagent (22)
- # releases (1)
- # ring (4)
- # shadow-cljs (79)
- # show-and-tell (2)
- # testing (5)
- # tools-deps (9)
- # xtdb (12)
How to limit output to Cursive repl? E.g I evaluate some thing that gets printed as several millions rows, taking a long time. Instead I'd like cursive to truncate the output to some reasonable amount.
Can you assign the output to a def
and then use first or whatever key access you need from there?
Depending on the type of thing you're printing, you can also try (set! *print-length* 1024)
.
I've started using clj-kondo for linting in IntelliJ with cursive. One drawback, however, is that clj-kondo is probably never going to allow code navigation which is a huge tool that cursive has in it's kit.
Would there ever be a day that cursive offers custom linting options for macros? I understand currently you can use resolve as
but that's just not addressing all my macro concerns. A custom linting option would help bridge the gap for me in this use case. Or an alternative here is to define which macros you'd like to expand for processing
@ajarosinski FWIW, clojure-lsp builds on clj-kondo for navigation and uses the LSP protocol to implement navigation for clients that support it (emacs, vscode, etc). Not that this helps you with Cursive, unless you use some LSP plugin.
If Colin is open to integrate clj-kondo into Cursive for those who want to use it, to allow custom linting for macros and possibly offer more linting that it provides, I'd be happy to help with that.
Is there any hotkey in Cursive+Idea to transform text in the editor like this: DOCKER_IMAGE_RELEASE_REPOSITORY -> docker-image-release-repository ? When I write scripts in babashka I need to deal with many env vars
@U08BJGV6E what is the name of plugin?
oh, I see. thank you!