This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-01
Channels
- # aleph (4)
- # arachne (24)
- # beginners (231)
- # boot (4)
- # cider (63)
- # clara (36)
- # cljs-dev (57)
- # clojure (195)
- # clojure-dev (12)
- # clojure-gamedev (2)
- # clojure-greece (1)
- # clojure-italy (10)
- # clojure-poland (4)
- # clojure-spec (36)
- # clojure-uk (65)
- # clojurescript (133)
- # core-async (8)
- # core-logic (2)
- # cursive (18)
- # data-science (3)
- # datomic (58)
- # defnpodcast (3)
- # duct (2)
- # emacs (2)
- # fulcro (27)
- # graphql (3)
- # hoplon (18)
- # jobs (2)
- # jobs-discuss (10)
- # jobs-rus (1)
- # lumo (1)
- # mount (6)
- # nyc (2)
- # off-topic (27)
- # pedestal (13)
- # re-frame (71)
- # reagent (105)
- # reitit (4)
- # ring (2)
- # ring-swagger (1)
- # rum (10)
- # shadow-cljs (172)
- # spacemacs (24)
- # sql (26)
- # tools-deps (1)
- # uncomplicate (4)
- # unrepl (51)
- # vim (3)
- # yada (11)
@cfleming namespaced keywords aren't being highlighted everywhere they appear in the editor, unlike regular keywords where every occurrence is highlighted. (images to follow)
@lgouger Right, there’s an issue in the new declared keywords functionality where the declaration is not highlighted (all usages are).
In your example, the non-namespaced keyword “works” because only namespaced keywords are eligible to be treated as declarations - doing it for non-namespaced ones would change the semantics of that keyword everywhere, which seems dangerous.
So you won’t be able to navigate to the first example from the usage, and it won’t show up in File Structure.
Right, and Cursive doesn’t treat it as a declaration at all, it’s just a normal keyword.
In your case, the keyword is long enough that it’s probably unambiguous, but for shorter keywords it could be very confusing. So even if it’s purely for Cursive support, I recommend using namespaced keywords for all re-frame declarations. spec already enforces that.
@gphilipp Nice solution, but you’re right that it really needs a solution within the IDE, if only so it works correctly on Windows. I’ll investigate that.
I think it work on windows too. It’s easier because you have dedicated UI to edit your global environment variables in the settings.
How do I find an unmatched ']' delimiter in my project? boot repl
won't start because it complains about an unmatched delimiter, but I can't find it. Probably caused by Parinfer after switching to it.