This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-06
Channels
- # adventofcode (112)
- # announcements (6)
- # beginners (197)
- # boot (3)
- # calva (52)
- # cider (25)
- # clara (14)
- # cljdoc (6)
- # clojure (147)
- # clojure-austin (6)
- # clojure-berlin (7)
- # clojure-brasil (2)
- # clojure-europe (3)
- # clojure-india (4)
- # clojure-italy (8)
- # clojure-new-zealand (2)
- # clojure-nl (7)
- # clojure-russia (7)
- # clojure-spec (29)
- # clojure-uk (63)
- # clojurescript (103)
- # core-async (5)
- # cursive (11)
- # datomic (16)
- # devcards (1)
- # emacs (28)
- # figwheel-main (3)
- # fulcro (97)
- # graphql (4)
- # hyperfiddle (1)
- # jobs (1)
- # kaocha (3)
- # lumo (9)
- # nrepl (4)
- # off-topic (29)
- # onyx (1)
- # pathom (4)
- # pedestal (8)
- # re-frame (24)
- # reagent (1)
- # reitit (13)
- # ring-swagger (7)
- # rum (11)
- # shadow-cljs (79)
- # sql (46)
- # tools-deps (67)
- # yada (8)
Is there any way to commit my function indentation and 'resolve as' settings to my repo?
@caleb.macdonaldblack Yes, under Settings->Editor->Code Style and Settings->Languages & Frameworks->Clojure->Symbol Resolution, set the Scheme to “Project”.
@ben.grabow Ugh, yes, sorry - I’ve been meaning to fix this. I’m not aware of a good workaround, sorry.
When it doesn't work I use Ctrl+B to get the declaration popup, then Ctrl+Shift+I to get a peek at the declaration I want. It works but is extra keystrokes and requires a different workflow depending on which symbol I'm inspecting. Thanks for looking in to it!
@cfleming Thank you so much!
So I'm using a reloaded style workflow in my project. However, every time I run:
(require 'clojure.tools.namespace.repl) (clojure.tools.namespace.repl/refresh-all)
and then try to run Cursive's "run tests in namespace", I get Syntax error (IllegalStateException) compiling at (billing_test.clj:1:1).
xxx already refers to: #'xxx in namespace: doublethedonation.billing-test
what's a good solution for this? is there a way to let cursive not reload namespaces again? (assuming that's the issue)
seems like cursive is "stuck" in the old unloaded namespace and not going into the renewed one. not 100% sure but it's pretty easy to reproduce
I think my IntelliJ just updated — My syntax highlighting seems to have broken in Cursive.. Is there a quick fix for that?