Domanda

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.

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top