Follow up from #5292. In addition to .clj and .cljs, Clojure language mode should also be triggered when someone opens a file with .cljc, .edn, and .bb file name extensions.
.cljc is for files that mix code for different Clojure platforms (e.g. JVM Clojure and ClojureScript) using the #? reader macro.
.edn is for extensible data notation files that are essentially non-executable Clojure data structures w/ some extensibility features added on. Because they are the same data structure literals as Clojure itself and the extensibility features are implemented in terms of Clojure reader macro syntax, just activating Clojure language mode should suffice for these.
.bb is for Clojure code that is only intended to be executed by Babashka which is a Clojure scripting runtime. It's still just Clojure code, though, so Clojure language mode should work fine.
If applicable, add mockups / screenshots to help present your vision of the feature
Check for existing issues
Describe the feature
Follow up from #5292. In addition to
.clj
and.cljs
, Clojure language mode should also be triggered when someone opens a file with.cljc
,.edn
, and.bb
file name extensions..cljc
is for files that mix code for different Clojure platforms (e.g. JVM Clojure and ClojureScript) using the#?
reader macro..edn
is for extensible data notation files that are essentially non-executable Clojure data structures w/ some extensibility features added on. Because they are the same data structure literals as Clojure itself and the extensibility features are implemented in terms of Clojure reader macro syntax, just activating Clojure language mode should suffice for these..bb
is for Clojure code that is only intended to be executed by Babashka which is a Clojure scripting runtime. It's still just Clojure code, though, so Clojure language mode should work fine.If applicable, add mockups / screenshots to help present your vision of the feature
No response