sunspots
sunspots

Reputation: 1057

Saving a cljs file

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.

Upvotes: 0

Views: 109

Answers (1)

Joaquin
Joaquin

Reputation: 2744

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

Upvotes: 1

Related Questions