This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-22
Channels
- # arachne (8)
- # bangalore-clj (1)
- # beginners (72)
- # boot (95)
- # braveandtrue (5)
- # business (1)
- # capetown (1)
- # cider (180)
- # cljs-dev (8)
- # cljsrn (20)
- # clojure (104)
- # clojure-art (1)
- # clojure-brasil (8)
- # clojure-czech (1)
- # clojure-greece (15)
- # clojure-korea (13)
- # clojure-poland (2)
- # clojure-russia (53)
- # clojure-sg (5)
- # clojure-spec (60)
- # clojure-uk (35)
- # clojurescript (186)
- # community-development (3)
- # core-async (24)
- # cursive (18)
- # datascript (11)
- # datomic (39)
- # devcards (4)
- # emacs (2)
- # events (1)
- # funcool (23)
- # hoplon (148)
- # juxt (1)
- # ldnclj (2)
- # luminus (1)
- # off-topic (22)
- # om (27)
- # onyx (35)
- # overtone (2)
- # pedestal (7)
- # perun (8)
- # protorepl (2)
- # rdf (6)
- # re-frame (15)
- # reagent (2)
- # ring-swagger (10)
- # untangled (54)
I use clojure.java-time library (https://github.com/dm3/clojure.java-time) in several projects, and for some reason functions in its namespace cannot be resolved. This holds true for every project.
Could it be that the name (`java-time`) is a top-level namespace without dots? Not a common thing in Clojure world
Yeah that would be my guess. Just to check, does the code actually run?
@be9 it's because it uses Potemkin import vars so Cursive doesn't understand it
@danielcompton @be9 Cursive does actually understand Potemkin’s import-vars
. I’ll look to see if I can see why that’s not working.
Intellij is rather stuck after messing with defmacro in REPL. Is there a way to report the problem before I kill it?
@danielcompton the code does run
@cfleming I want to change indentation of macros like as->
but they are not listed in Form Parameters tab of code style options.
Am I missing something? After setting indentation to 2 it only starts at the second form:
(-> 1
inc
inc)
@cfleming I wrote my own threading macro. How do I tell cursive to count one more arg when checking arity? Perhaps it doesn't even have to check anything inside a macro it doesn't know?
@yonatanel You can use https://cursive-ide.com/userguide/macros.html and set it to ->
or ->>
, assuming your macro has the same layout as one of those.