This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-15
Channels
- # beginners (97)
- # boot (54)
- # cider (13)
- # cljs-dev (3)
- # cljsrn (9)
- # clojure (64)
- # clojure-berlin (1)
- # clojure-brasil (119)
- # clojure-dev (3)
- # clojure-france (5)
- # clojure-greece (1)
- # clojure-italy (5)
- # clojure-madison (1)
- # clojure-russia (15)
- # clojure-spec (25)
- # clojure-uk (57)
- # clojurebridge (5)
- # clojurescript (45)
- # code-art (1)
- # community-development (17)
- # cursive (24)
- # datomic (83)
- # emacs (11)
- # fulcro (70)
- # hoplon (7)
- # immutant (3)
- # leiningen (19)
- # luminus (5)
- # lumo (25)
- # onyx (123)
- # other-languages (7)
- # pedestal (2)
- # re-frame (12)
- # ring (15)
- # ring-swagger (51)
- # shadow-cljs (89)
- # spacemacs (23)
- # sql (4)
- # unrepl (57)
- # utah-clojurians (1)
- # vim (1)
I think if you hover over the macro def, a little light bulb might appear allowing you to select some macro formatting options @nick319
> However to adjust the indentation settings for a particular macro, you’ll need to do the following. Find an instance of the macro in your code, and position the cursor over the macro symbol. You’ll get an intention lightbulb which will allow you to modify the indentation using Alt Enter.
@nick319 Or are you saying that you can’t use @taylor’s solution because Cursive doesn’t detect def-comp-events
as a macro?
Does def-comp-events
resolve correctly? i.e. if you Ctrl/Cmd-click on it, does it navigate to the definition? Or is it marked in yellow?
@hiskennyness I’m pretty sure there’s no key combo to delete run configs.
(ns clojuretest-client.windows.main-window (:require [ignition-project :refer [def-comp-events system]])) (def-comp-events "root.Power Table" (mouseEntered [event] (println "I am very glad. Does this change now?") (println event)) (initialize [source] (println "initializing with style. self:" source)))
def-comp-events is unresolved. I have ignition-project in the project.clj file like so:
:dependencies [[org.clojure/clojure "1.8.0"] [perfect-abstractions/ignition-project "1.0.0"] [org.clojure/tools.nrepl "0.2.12"]]
(defmacro def-comp-events
[comp-path & functions]
`(def-comp-events-fn comp-path 'functions))
@cfleming will unresolved symbols in the library cause unresolved symbols in projects that use that library?
@cfleming can there be a feature that allows me to set the indentation on unresolved symbols?
That would be really helpful because then I wouldn't have to deal/worry about unresolved symbols
@nick319 That’s strange, that should definitely work. I’ll try to reproduce it tomorrow.
“Live Share” looks really useful for remote devs. https://www.youtube.com/watch?v=fWXe1HQ1wVA&t=13s Anyone know if something like this exists in IntelliJ or on roadmap?