Fork me on GitHub
#cursive
<
2022-04-16
>
kennytilton02:04:21

So I am starting to explore porting Matrix to #clojuredart and wondering how to get IJ/Cursive to handle the *.cljd file type. I added that to the editor clojure filetypes and that is working great. Is there some way I can also get .cljd supported when creating a new file or renaming one?

cfleming05:04:33

Unfortunately not, although you should be able to manually create a file with any name, you just won’t be able to use New Namespace to do it. I’ll add this basic support for the next EAP and look into better support integrating with the Dart plugin ASAP.

🙏 1
armed16:04:41

Hello, everyone. Updated to 1.12.3-eap1 few moments ago, but fn arity bug still persists. Or maybe I misconfigured something? Attaching minimal example.

armed02:04:11

(defprotocol Fly
  "A simple protocol for flying"
  (fly [this] "Method to fly"))

(defrecord Bird [name species]
  Fly
  (fly [this] (str (:name this) " flies...")))