Question

In the command prompt the following directories have been created:

                $ mkdir -p src-cljs/webviz
                $ mkdir -p resources/js

I am trying to create the file:

                src-cljs/webviz/core.cljs

containing

               (ns webviz.core)
               (defn ^:export hello [world]
               (js/alert (str "Hello, " world)))

in Sublime Text 2.

If I try to save the file I don't have an option for .cljs.

Was it helpful?

Solution

Try this? How do I save as certain file type in sublime text 2?

Try just typing the full filename you want when you save it, e.g. filename.lua

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top