This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-10-06
Channels
- # announcements (1)
- # babashka (118)
- # beginners (108)
- # calva (20)
- # chlorine-clover (3)
- # clara (10)
- # clj-kondo (47)
- # cljsrn (10)
- # clojure (144)
- # clojure-australia (5)
- # clojure-czech (2)
- # clojure-dev (11)
- # clojure-europe (94)
- # clojure-france (4)
- # clojure-nl (5)
- # clojure-spec (3)
- # clojure-sweden (2)
- # clojure-uk (11)
- # clojuredesign-podcast (5)
- # clojurescript (56)
- # cloverage (1)
- # code-reviews (6)
- # conjure (1)
- # cursive (13)
- # datascript (1)
- # datomic (16)
- # defnpodcast (1)
- # emacs (1)
- # etaoin (1)
- # events (7)
- # fulcro (21)
- # graalvm (3)
- # helix (17)
- # jackdaw (3)
- # jobs-discuss (2)
- # lambdaisland (2)
- # london-clojurians (2)
- # meander (2)
- # mid-cities-meetup (2)
- # midje (1)
- # off-topic (1)
- # pathom (3)
- # pedestal (12)
- # reagent (7)
- # reitit (15)
- # reveal (12)
- # shadow-cljs (6)
- # sql (14)
- # test-check (3)
- # vim (13)
i might have already asked, but is there a way to have syntax highlighting into babashka scripts that have no file extension? or is that something inside intellij that's not easily configurable?
Because we make self contained executables with the shebang 🙂 and they normally don't have an extension
Also if i put .clj
, cursive thinks it's a "normal" clj file and not a bb script, and it can't resolve anyway
Yeah totally. I've used emacs with no problem by just setting the mode with front matter but was hoping there is the same flexibility in intellij. It's not a problem because we use a bb wrapper anyway to auto put the classpath
Yes, I have on my list to fix the symbol resolution in babashka scripts, but I haven’t got to that yet.
you may be able to associate the Clojure file type with some other extension (e.g. .bb)
is there any way (via jar or other way) to make cursive aware about dom/js api?
I generated shadow-cljs project, then generated with it the pom file, to import it correctly from intellij/cursive level. Reagenet is recognized, but I have no idea how to make cursive aware about dom/js contracts